diff --git a/packages/builder/src/components/backend/TableNavigator/TableNavigator.svelte b/packages/builder/src/components/backend/TableNavigator/TableNavigator.svelte index 94b9020203..f1337e88d4 100644 --- a/packages/builder/src/components/backend/TableNavigator/TableNavigator.svelte +++ b/packages/builder/src/components/backend/TableNavigator/TableNavigator.svelte @@ -6,7 +6,8 @@ import NavItem from "components/common/NavItem.svelte" import { goto, isActive } from "@roxi/routify" - const alphabetical = (a, b) => a.name?.toLowerCase() > b.name?.toLowerCase() + const alphabetical = (a, b) => + a.name?.toLowerCase() > b.name?.toLowerCase() ? 1 : -1 export let sourceId diff --git a/packages/builder/src/components/common/NavItem.svelte b/packages/builder/src/components/common/NavItem.svelte index 1fd43e2c70..73a8d3d647 100644 --- a/packages/builder/src/components/common/NavItem.svelte +++ b/packages/builder/src/components/common/NavItem.svelte @@ -17,6 +17,7 @@ export let highlighted = false export let rightAlignIcon = false export let id + export let showTooltip = false const scrollApi = getContext("scroll") const dispatch = createEventDispatcher() @@ -84,7 +85,7 @@ {/if} -
{text}
+
{text}
{#if withActions}
diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenListPanel.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenListPanel.svelte index a6fd9089b1..06f9f86eb6 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenListPanel.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/screens/_components/ScreenListPanel.svelte @@ -59,6 +59,7 @@ text={screen.routing.route} on:click={() => store.actions.screens.select(screen._id)} rightAlignIcon + showTooltip >