Fix URL update after creating a new layout

This commit is contained in:
Andrew Kingston 2020-12-14 11:14:36 +00:00
parent aa71e95597
commit 449509a203
1 changed files with 1 additions and 1 deletions

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) {