mirror of
https://github.com/immich-app/immich.git
synced 2025-11-18 13:32:37 +09:00
Added timeout option for notification component
This commit is contained in:
@@ -38,9 +38,10 @@ export const openFileUploadDialog = (uploadType: UploadType) => {
|
||||
|
||||
if (files.length > 50) {
|
||||
notificationController.show({
|
||||
type: NotificationType.Error,
|
||||
message: `Cannot upload more than 50 files at a time - you are uploading ${files.length} files.
|
||||
Please use the CLI tool if you need to upload more than 50 files.`,
|
||||
type: NotificationType.Error
|
||||
timeout: 5000
|
||||
});
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user