diff --git a/frontend/src/lib/components/apps/components/display/AppNavbarItem.svelte b/frontend/src/lib/components/apps/components/display/AppNavbarItem.svelte index dea4ea1651..0dca9d79fc 100644 --- a/frontend/src/lib/components/apps/components/display/AppNavbarItem.svelte +++ b/frontend/src/lib/components/apps/components/display/AppNavbarItem.svelte @@ -65,7 +65,7 @@ $: !initialized && resolvedPath && initSelection() function getButtonProps(resolvedPath: string | undefined) { - if (resolvedPath?.includes(appPath)) { + if (appPath && resolvedPath?.includes(appPath)) { return { onClick: () => { output.result.set({ currentPath: resolvedPath ?? '' })