added workspace visibility when a bucet is added

This commit is contained in:
2026-02-13 19:38:49 -06:00
parent b3a37cd927
commit 01348ce229
+3 -1
View File
@@ -180,8 +180,10 @@ export const ContextSwitcher: Component<{
}
};
const hasContexts = () => (oversightUsers() && oversightUsers()!.length > 0) || store.subscribedBuckets.length > 0;
return (
<Show when={oversightUsers() && oversightUsers()!.length > 0}>
<Show when={hasContexts()}>
<Popover open={open()} onOpenChange={setOpen}>
<PopoverTrigger class={cn(props.isMobile ? "w-auto" : "w-full")}>
<div class={cn(