1
0
Fork 0
mirror of synced 2024-06-30 12:00:31 +12:00

fix: added dnd to master screen

This commit is contained in:
Michael Shanks 2020-08-13 10:15:37 +01:00
parent b6e6a1ef4b
commit 49edb74db4

View file

@ -16,12 +16,14 @@
import { pipe } from "components/common/core"
import { store } from "builderStore"
import { ArrowDownIcon, GridIcon } from "components/common/Icons/"
import { writable } from "svelte/store"
export let layout
let confirmDeleteDialog
let componentToDelete = ""
const dragDropStore = writable({})
const joinPath = join("/")
const lastPartOfName = c =>
@ -57,7 +59,8 @@
<ComponentsHierarchyChildren
thisComponent={_layout.component.props}
components={_layout.component.props._children}
currentComponent={$store.currentComponentInfo} />
currentComponent={$store.currentComponentInfo}
{dragDropStore} />
{/if}
<style>