mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 04:05:39 -04:00
fix(web): disable bulk action buttons while items selected (#9938)
fix(web):disabled bulk action buttons while items selected
This commit is contained in:
parent
203cbbbfdb
commit
5af67d159f
@ -97,13 +97,13 @@
|
|||||||
{#if $featureFlags.loaded && $featureFlags.trash}
|
{#if $featureFlags.loaded && $featureFlags.trash}
|
||||||
<UserPageLayout hideNavbar={$isMultiSelectState} title={data.meta.title} scrollbar={false}>
|
<UserPageLayout hideNavbar={$isMultiSelectState} title={data.meta.title} scrollbar={false}>
|
||||||
<div class="flex place-items-center gap-2" slot="buttons">
|
<div class="flex place-items-center gap-2" slot="buttons">
|
||||||
<LinkButton on:click={handleRestoreTrash}>
|
<LinkButton on:click={handleRestoreTrash} disabled={$isMultiSelectState}>
|
||||||
<div class="flex place-items-center gap-2 text-sm">
|
<div class="flex place-items-center gap-2 text-sm">
|
||||||
<Icon path={mdiHistory} size="18" />
|
<Icon path={mdiHistory} size="18" />
|
||||||
Restore all
|
Restore all
|
||||||
</div>
|
</div>
|
||||||
</LinkButton>
|
</LinkButton>
|
||||||
<LinkButton on:click={() => handleEmptyTrash()}>
|
<LinkButton on:click={() => handleEmptyTrash()} disabled={$isMultiSelectState}>
|
||||||
<div class="flex place-items-center gap-2 text-sm">
|
<div class="flex place-items-center gap-2 text-sm">
|
||||||
<Icon path={mdiDeleteOutline} size="18" />
|
<Icon path={mdiDeleteOutline} size="18" />
|
||||||
Empty trash
|
Empty trash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user