mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
fix: notification
This commit is contained in:
parent
e6e7f78f9f
commit
4dc1067b4c
@ -78,7 +78,7 @@ export const archiveAssets = async (
|
|||||||
onArchive?.(ids, isArchived);
|
onArchive?.(ids, isArchived);
|
||||||
|
|
||||||
notificationController.show({
|
notificationController.show({
|
||||||
message: `${isArchived ? 'Archived' : 'Unarchived'} ${ids.length}`,
|
message: `${isArchived ? 'Archived' : 'Unarchived'} ${ids.length} asset${ids.length > 1 ? 's' : ''}`,
|
||||||
type: NotificationType.Info,
|
type: NotificationType.Info,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user