Browse Source

Fix URL update after creating a new layout

pull/4023/head
Andrew Kingston 6 years ago
parent
commit
0b3a4047b3
  1. 2
      packages/builder/src/components/userInterface/NewLayoutModal.svelte

2
packages/builder/src/components/userInterface/NewLayoutModal.svelte

@ -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…
Cancel
Save