fix layout selection issues
This commit is contained in:
parent
a3dd9f1978
commit
a014db4185
|
@ -226,6 +226,7 @@ export const getFrontendStore = () => {
|
|||
state.layouts.push(layoutToSave)
|
||||
}
|
||||
|
||||
state.selectedComponentId = layoutToSave._id
|
||||
return state
|
||||
})
|
||||
},
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
function navigate({ detail }) {
|
||||
if (!detail) return
|
||||
$goto(`./${detail.heading.key}`)
|
||||
$goto(`../${detail.heading.key}`)
|
||||
}
|
||||
|
||||
onMount(() => {
|
||||
|
|
Loading…
Reference in New Issue