mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +03:00
No need to check for !oMoveFolder && !bDelete
This commit is contained in:
parent
bbf45ea979
commit
8fda2f4955
1 changed files with 3 additions and 3 deletions
|
|
@ -125,9 +125,7 @@ export class AppUser extends AbstractApp {
|
|||
// no default
|
||||
}
|
||||
|
||||
if (!oMoveFolder && !bDelete) {
|
||||
showScreenPopup(FolderSystemPopupView, [nSetSystemFoldersNotification]);
|
||||
} else if (bDelete) {
|
||||
if (bDelete) {
|
||||
showScreenPopup(AskPopupView, [
|
||||
i18n('POPUPS_ASK/DESC_WANT_DELETE_MESSAGES'),
|
||||
() => {
|
||||
|
|
@ -136,6 +134,8 @@ export class AppUser extends AbstractApp {
|
|||
]);
|
||||
} else if (oMoveFolder) {
|
||||
MessagelistUserStore.moveMessages(sFromFolderFullName, oUids, oMoveFolder.fullName);
|
||||
} else {
|
||||
showScreenPopup(FolderSystemPopupView, [nSetSystemFoldersNotification]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue