diff --git a/apps/mana/apps/web/src/routes/(app)/+layout.svelte b/apps/mana/apps/web/src/routes/(app)/+layout.svelte index 1711fb2ec..4462e029b 100644 --- a/apps/mana/apps/web/src/routes/(app)/+layout.svelte +++ b/apps/mana/apps/web/src/routes/(app)/+layout.svelte @@ -974,7 +974,6 @@ currentSyncLabel={syncStatus.label} {appItems} {userEmail} - settingsHref="/" manaHref="/mana" profileHref="/profile" spiralHref="/spiral" diff --git a/packages/shared-ui/src/navigation/PillNavigation.svelte b/packages/shared-ui/src/navigation/PillNavigation.svelte index ba5428139..a502955ae 100644 --- a/packages/shared-ui/src/navigation/PillNavigation.svelte +++ b/packages/shared-ui/src/navigation/PillNavigation.svelte @@ -379,7 +379,7 @@ appItems = [], showAppSwitcher = false, userEmail, - settingsHref = '/settings', + settingsHref, manaHref, profileHref, loginHref, @@ -476,13 +476,15 @@ active: currentPath === profileHref, }); } - links.push({ - id: 'settings', - label: 'Einstellungen', - icon: 'settings', - href: settingsHref, - active: currentPath === settingsHref, - }); + if (settingsHref) { + links.push({ + id: 'settings', + label: 'Einstellungen', + icon: 'settings', + href: settingsHref, + active: currentPath === settingsHref, + }); + } if (userEmail && manaHref) { links.push({ id: 'mana',