Remove preview specific data tags from components when running real apps
This commit is contained in:
parent
0aedd8d802
commit
f65b374622
|
@ -63,7 +63,9 @@
|
||||||
$builderStore.inBuilder &&
|
$builderStore.inBuilder &&
|
||||||
$builderStore.selectedComponentId === instance._id
|
$builderStore.selectedComponentId === instance._id
|
||||||
$: inSelectedPath = $builderStore.selectedComponentPath?.includes(id)
|
$: inSelectedPath = $builderStore.selectedComponentPath?.includes(id)
|
||||||
$: interactive = $builderStore.previewType === "layout" || insideScreenslot
|
$: interactive =
|
||||||
|
$builderStore.inBuilder &&
|
||||||
|
($builderStore.previewType === "layout" || insideScreenslot)
|
||||||
$: evaluateConditions(enrichedSettings?._conditions)
|
$: evaluateConditions(enrichedSettings?._conditions)
|
||||||
$: componentSettings = { ...enrichedSettings, ...conditionalSettings }
|
$: componentSettings = { ...enrichedSettings, ...conditionalSettings }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue