mirror of
https://github.com/immich-app/immich.git
synced 2024-11-28 09:33:27 +02: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}
|
||||
<UserPageLayout hideNavbar={$isMultiSelectState} title={data.meta.title} scrollbar={false}>
|
||||
<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">
|
||||
<Icon path={mdiHistory} size="18" />
|
||||
Restore all
|
||||
</div>
|
||||
</LinkButton>
|
||||
<LinkButton on:click={() => handleEmptyTrash()}>
|
||||
<LinkButton on:click={() => handleEmptyTrash()} disabled={$isMultiSelectState}>
|
||||
<div class="flex place-items-center gap-2 text-sm">
|
||||
<Icon path={mdiDeleteOutline} size="18" />
|
||||
Empty trash
|
||||
|
Loading…
Reference in New Issue
Block a user