Fix URL update after creating a new layout
This commit is contained in:
parent
aa71e95597
commit
449509a203
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue