[org] fix: fix/new-measurement-set (#201)
Fixes #197 Not tested in detail since that needs an account without measurement sets, which I don't have. Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/201 Co-authored-by: Jonathan Haas <haasjona@gmail.com> Co-committed-by: Jonathan Haas <haasjona@gmail.com>
This commit is contained in:
parent
285d8d356d
commit
3cba9e4020
2 changed files with 4 additions and 2 deletions
|
@ -99,7 +99,7 @@ export const Patterns = ({ Link = false }) => {
|
|||
</button>
|
||||
<Link
|
||||
className="tw-daisy-btn tw-daisy-btn-primary tw-capitalize tw-w-full md:tw-w-auto hover:tw-text-primary-content"
|
||||
href="/-/"
|
||||
href="/editor/"
|
||||
>
|
||||
<PlusIcon />
|
||||
Create a new pattern
|
||||
|
|
|
@ -5,7 +5,9 @@ export const defaultConfig = {
|
|||
// Enable use of a (FreeSewing) backend to load data from
|
||||
enableBackend: true,
|
||||
// Link to create a new measurements set, set to false to disable
|
||||
hrefNewSet: '/new/set',
|
||||
// TODO: this is the link to the sets page, the new set button is a dynamic popover on that page
|
||||
// TODO and not directly linkable
|
||||
hrefNewSet: 'account/data/sets/',
|
||||
// Cloud default image
|
||||
cloudImageDflt:
|
||||
'https://imagedelivery.net/ouSuR9yY1bHt-fuAokSA5Q/365cc64e-1502-4d2b-60e0-cc8beee73f00/public',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue