added workspace visibility when a bucet is added
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user