1
0
Fork 0
mirror of synced 2024-10-03 19:43:32 +13: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) {