1
0
Fork 0
mirror of synced 2024-09-30 17:18:14 +13:00

fix layout selection issues

This commit is contained in:
Martin McKeaveney 2020-12-07 16:06:20 +00:00
parent a3dd9f1978
commit a014db4185
3 changed files with 3 additions and 1 deletions

View file

@ -226,6 +226,7 @@ export const getFrontendStore = () => {
state.layouts.push(layoutToSave)
}
state.selectedComponentId = layoutToSave._id
return state
})
},

View file

@ -1,6 +1,7 @@
<script>
import { get } from "svelte/store"
import { store, selectedComponent, currentAsset } from "builderStore"
import { get } from "svelte/store"
import { FrontendTypes } from "constants"
import panelStructure from "./temporaryPanelStructure.js"
import CategoryTab from "./CategoryTab.svelte"

View file

@ -26,7 +26,7 @@
function navigate({ detail }) {
if (!detail) return
$goto(`./${detail.heading.key}`)
$goto(`../${detail.heading.key}`)
}
onMount(() => {