1
0
Fork 0

wip: More account pages

This commit is contained in:
joostdecock 2024-12-23 18:25:48 +01:00
parent 543be68c1f
commit c994e3898f
58 changed files with 1419 additions and 29 deletions

View file

@ -200,7 +200,7 @@ export const Set = ({ id, publicOnly = false, Link = false }) => {
const [status, body] = await backend.createSet(data)
if (status === 201 && body.result === 'created') {
setLoadingStatus([true, 'Loading newly created set', true, true])
window.location = `/account/set/?id=${body.set.id}`
window.location = `/account/data/sets/set?id=${body.set.id}`
} else setLoadingStatus([true, 'We failed to create this measurements set', true, false])
}