fix: only show when images are processing
This commit is contained in:
@ -56,6 +56,7 @@ export const ProcessingImages: Component = () => {
|
|||||||
Object.keys(notifications.state.ProcessingImages).length;
|
Object.keys(notifications.state.ProcessingImages).length;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<Show when={processingNumber() > 0}>
|
||||||
<Popover sameWidth gutter={4}>
|
<Popover sameWidth gutter={4}>
|
||||||
<Popover.Trigger class="w-full flex justify-between rounded-xl bg-slate-800 text-gray-100 px-4 py-2">
|
<Popover.Trigger class="w-full flex justify-between rounded-xl bg-slate-800 text-gray-100 px-4 py-2">
|
||||||
<Show
|
<Show
|
||||||
@ -101,5 +102,6 @@ export const ProcessingImages: Component = () => {
|
|||||||
</Popover.Content>
|
</Popover.Content>
|
||||||
</Popover.Portal>
|
</Popover.Portal>
|
||||||
</Popover>
|
</Popover>
|
||||||
|
</Show>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user