1
0
Fork 0
mirror of synced 2024-07-04 05:50:57 +12:00

Fix URL update after creating a new layout

This commit is contained in:
Andrew Kingston 2020-12-14 11:14:36 +00:00
parent 8b352fe40a
commit 0b3a4047b3

View file

@ -8,7 +8,7 @@
async function save() {
try {
const layout = store.actions.layouts.save({ name })
const layout = await store.actions.layouts.save({ name })
$goto(`./${layout._id}`)
notifier.success(`Layout ${name} created successfully`)
} catch (err) {