fix(web): "select all" button in trash and permanently deleted count (#23594)

This commit is contained in:
Arnaud Wery
2025-11-05 15:05:48 +01:00
committed by GitHub
parent 35e188e6e7
commit c15e9bfa72
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ export const deleteAssets = async (
props: {
title: $t('success'),
description: force
? $t('assets_permanently_deleted_count')
? $t('assets_permanently_deleted_count', { values: { count: ids.length } })
: $t('assets_trashed_count', { values: { count: ids.length } }),
color: 'success',
button:

View File

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