From 4dc1067b4c2173a6485d4635900705827952a6b8 Mon Sep 17 00:00:00 2001 From: martabal <74269598+martabal@users.noreply.github.com> Date: Fri, 19 Jan 2024 15:56:13 +0100 Subject: [PATCH] fix: notification --- web/src/lib/utils/actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/lib/utils/actions.ts b/web/src/lib/utils/actions.ts index bd15963ed3..e5508dd629 100644 --- a/web/src/lib/utils/actions.ts +++ b/web/src/lib/utils/actions.ts @@ -78,7 +78,7 @@ export const archiveAssets = async ( onArchive?.(ids, isArchived); notificationController.show({ - message: `${isArchived ? 'Archived' : 'Unarchived'} ${ids.length}`, + message: `${isArchived ? 'Archived' : 'Unarchived'} ${ids.length} asset${ids.length > 1 ? 's' : ''}`, type: NotificationType.Info, });