folders for routes, show home instead of slash
This commit is contained in:
parent
06db0b88a0
commit
0d32dd0719
|
@ -24,7 +24,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<NavItem
|
<NavItem
|
||||||
icon="ri-route-line"
|
icon="ri-folder-line"
|
||||||
text={path}
|
text={path}
|
||||||
opened={true}
|
opened={true}
|
||||||
withArrow={route.subpaths} />
|
withArrow={route.subpaths} />
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
indentLevel={indent || 1}
|
indentLevel={indent || 1}
|
||||||
selected={$store.currentPreviewItem._id === screenId}
|
selected={$store.currentPreviewItem._id === screenId}
|
||||||
opened={$store.currentPreviewItem._id === screenId}
|
opened={$store.currentPreviewItem._id === screenId}
|
||||||
text={url}
|
text={url === "/" ? "Home" : url}
|
||||||
withArrow={route.subpaths}
|
withArrow={route.subpaths}
|
||||||
on:click={() => changeScreen(screenId)}>
|
on:click={() => changeScreen(screenId)}>
|
||||||
<ScreenDropdownMenu screen={screenId} />
|
<ScreenDropdownMenu screen={screenId} />
|
||||||
|
|
Loading…
Reference in New Issue