1
0
Fork 0

wip: More account pages

This commit is contained in:
joostdecock 2024-12-24 11:13:02 +01:00
parent c994e3898f
commit 373e5d078d
15 changed files with 531 additions and 59 deletions

View file

@ -112,7 +112,7 @@ export const Pattern = ({ id, Link }) => {
const [status, body] = await backend.createPattern(data)
if (status === 201 && body.result === 'created') {
setLoadingStatus([true, 'Loading newly created pattern', true, true])
window.location = `/account/pattern/?id=${body.pattern.id}`
window.location = `/account/data/patterns/pattern?id=${body.pattern.id}`
} else setLoadingStatus([true, 'We failed to create this pattern', true, false])
}