mirror of
https://github.com/Art051/immich.git
synced 2025-08-11 19:29:00 +00:00
Amended success notification to singular/plural conditional.
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
});
|
});
|
||||||
} else if ($successCounter > 0) {
|
} else if ($successCounter > 0) {
|
||||||
notificationController.show({
|
notificationController.show({
|
||||||
message: `Uploaded ${$successCounter} assets successfully, refresh the page to see new upload assets.`,
|
message: `Uploaded ${$successCounter} asset${$successCounter > 1 ? 's' : ''} successfully, refresh the page to see new upload assets.`,
|
||||||
type: NotificationType.Info,
|
type: NotificationType.Info,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user