mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Bugfix: Notification enum conflicts with window.Notification
This commit is contained in:
parent
b5ab175953
commit
8d52b0afdf
13 changed files with 47 additions and 46 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { koComputable, addObservablesTo } from 'External/ko';
|
||||
|
||||
import { Notification } from 'Common/Enums';
|
||||
import { Notifications } from 'Common/Enums';
|
||||
import { defaultOptionsAfterRender } from 'Common/Utils';
|
||||
import { folderListOptionsBuilder, sortFolders } from 'Common/Folders';
|
||||
import { getNotification } from 'Common/Translator';
|
||||
|
|
@ -65,7 +65,7 @@ export class FolderCreatePopupView extends AbstractViewPopup {
|
|||
},
|
||||
error => {
|
||||
FolderUserStore.folderListError(
|
||||
getNotification(error.code, '', Notification.CantCreateFolder)
|
||||
getNotification(error.code, '', Notifications.CantCreateFolder)
|
||||
+ '.\n' + error.message);
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue