mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-06 03:55:26 +00:00
(fix) correctly refresh the mailboxes list when empty'ing the trash that contains subfolders
This commit is contained in:
@@ -424,6 +424,10 @@
|
||||
_this.$messages = [];
|
||||
_this.uidsMap = {};
|
||||
_this.unseenCount = 0;
|
||||
|
||||
// If we had any submailboxes, lets do a refresh of the mailboxes list
|
||||
if (angular.isDefined(_this.children) && _this.children.length)
|
||||
_this.$account.$getMailboxes({reload: true});
|
||||
}, function(data, status) {
|
||||
deferred.reject(data);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user