diff --git a/packages/builder/src/components/common/NavItem.svelte b/packages/builder/src/components/common/NavItem.svelte new file mode 100644 index 0000000000..7e21689c3f --- /dev/null +++ b/packages/builder/src/components/common/NavItem.svelte @@ -0,0 +1,108 @@ + + +
+
+ {#if withArrow} +
+ +
+ {/if} + {#if icon} +
+ {/if} +
{text}
+ {#if withActions} +
+ +
+ {/if} +
+
+ + diff --git a/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte b/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte index add2a99d6a..43a2c07bd9 100644 --- a/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte +++ b/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte @@ -1,13 +1,12 @@ -
- - - - - Master Screen -
+ {#if $store.currentPreviewItem.name === _layout.title && _layout.component.props._children} {/if} - -