diff --git a/packages/builder/src/builderStore/store.js b/packages/builder/src/builderStore/store.js index 3d506181c1..0c69f5675b 100644 --- a/packages/builder/src/builderStore/store.js +++ b/packages/builder/src/builderStore/store.js @@ -112,7 +112,7 @@ export const getStore = () => { store.moveDownComponent = moveDownComponent(store) store.copyComponent = copyComponent(store) store.addTemplatedComponent = addTemplatedComponent(store) - store.setDetailProp = setDetailProp(store) + store.setMetadataProp = setMetadataProp(store) return store } @@ -956,7 +956,7 @@ const walkProps = (props, action, cancelToken = null) => { } } -const setDetailProp = store => (name, prop) => { +const setMetadataProp = store => (name, prop) => { store.update(s => { s.currentPreviewItem[name] = prop return s diff --git a/packages/builder/src/userInterface/ComponentPropertiesPanel.svelte b/packages/builder/src/userInterface/ComponentPropertiesPanel.svelte index 9ee326e55d..b066386892 100644 --- a/packages/builder/src/userInterface/ComponentPropertiesPanel.svelte +++ b/packages/builder/src/userInterface/ComponentPropertiesPanel.svelte @@ -36,7 +36,6 @@ function getProps(obj, keys) { return keys.map((k, i) => [k, obj[k], obj.props._id + i]) } - $: console.log($store, component)