aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared/src/stores/SharedStoreBase.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/shared/src/stores/SharedStoreBase.ts')
-rw-r--r--packages/shared/src/stores/SharedStoreBase.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/shared/src/stores/SharedStoreBase.ts b/packages/shared/src/stores/SharedStoreBase.ts
index e4b3a38..949ef6a 100644
--- a/packages/shared/src/stores/SharedStoreBase.ts
+++ b/packages/shared/src/stores/SharedStoreBase.ts
@@ -65,7 +65,10 @@ export function defineSharedStoreModel<
65 return settings.showLocationBar || self.alwaysShowLocationBar; 65 return settings.showLocationBar || self.alwaysShowLocationBar;
66 }, 66 },
67 get canToggleLocationBar(): boolean { 67 get canToggleLocationBar(): boolean {
68 return !self.alwaysShowLocationBar; 68 return (
69 !self.alwaysShowLocationBar &&
70 self.settings.selectedService !== undefined
71 );
69 }, 72 },
70 })); 73 }));
71} 74}