mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Remove useless clearPopup() functions
This commit is contained in:
parent
ba895ba887
commit
2a7348081a
9 changed files with 20 additions and 82 deletions
|
|
@ -65,16 +65,9 @@ class FolderClearPopupView extends AbstractViewPopup {
|
|||
}
|
||||
}
|
||||
|
||||
clearPopup() {
|
||||
this.clearingProcess(false);
|
||||
this.selectedFolder(null);
|
||||
}
|
||||
|
||||
onShow(folder) {
|
||||
this.clearPopup();
|
||||
if (folder) {
|
||||
this.selectedFolder(folder);
|
||||
}
|
||||
this.clearingProcess(false);
|
||||
this.selectedFolder(folder || null);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue