mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
fix upload area snackbar behaviour
This commit is contained in:
committed by
Eugenio Romano
parent
c6f6227da7
commit
53d693b900
@@ -184,7 +184,7 @@ export class UploadDragAreaComponent {
|
|||||||
messageTranslate = this.translateService.get('FILE_UPLOAD.MESSAGES.PROGRESS');
|
messageTranslate = this.translateService.get('FILE_UPLOAD.MESSAGES.PROGRESS');
|
||||||
actionTranslate = this.translateService.get('FILE_UPLOAD.ACTION.UNDO');
|
actionTranslate = this.translateService.get('FILE_UPLOAD.ACTION.UNDO');
|
||||||
|
|
||||||
this.notificationService.openSnackMessageAction(messageTranslate.value, actionTranslate.value, 3000).afterDismissed().subscribe(() => {
|
this.notificationService.openSnackMessageAction(messageTranslate.value, actionTranslate.value, 3000).onAction().subscribe(() => {
|
||||||
latestFilesAdded.forEach((uploadingFileModel: FileModel) => {
|
latestFilesAdded.forEach((uploadingFileModel: FileModel) => {
|
||||||
uploadingFileModel.emitAbort();
|
uploadingFileModel.emitAbort();
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user