1
0
Fork 0
mirror of synced 2024-06-30 03:50:37 +12:00

folders for routes, show home instead of slash

This commit is contained in:
Martin McKeaveney 2020-11-19 20:50:17 +00:00
parent a4e0ba8e4b
commit 1f1dfbe296

View file

@ -24,7 +24,7 @@
</script>
<NavItem
icon="ri-route-line"
icon="ri-folder-line"
text={path}
opened={true}
withArrow={route.subpaths} />
@ -36,7 +36,7 @@
indentLevel={indent || 1}
selected={$store.currentPreviewItem._id === screenId}
opened={$store.currentPreviewItem._id === screenId}
text={url}
text={url === "/" ? "Home" : url}
withArrow={route.subpaths}
on:click={() => changeScreen(screenId)}>
<ScreenDropdownMenu screen={screenId} />