Skip to content

Commit 2529c2f

Browse files
Yonycbwees
authored andcommitted
fix(web): "select all" button in trash and permanently deleted count (immich-app#23594)
1 parent 6ea4f73 commit 2529c2f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/src/lib/utils/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const deleteAssets = async (
3838
props: {
3939
title: $t('success'),
4040
description: force
41-
? $t('assets_permanently_deleted_count')
41+
? $t('assets_permanently_deleted_count', { values: { count: ids.length } })
4242
: $t('assets_trashed_count', { values: { count: ids.length } }),
4343
color: 'success',
4444
button:

web/src/routes/(user)/trash/[[photos=photos]]/[[assetId=id]]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
</HStack>
104104
{/snippet}
105105

106-
<Timeline enableRouting={true} {options} {assetInteraction} onEscape={handleEscape}>
106+
<Timeline enableRouting={true} bind:timelineManager {options} {assetInteraction} onEscape={handleEscape}>
107107
<p class="font-medium text-gray-500/60 dark:text-gray-300/60 p-4">
108108
{$t('trashed_items_will_be_permanently_deleted_after', { values: { days: $serverConfig.trashDays } })}
109109
</p>

0 commit comments

Comments
 (0)