Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/NavigationFolder.vue')
-rw-r--r--src/components/NavigationFolder.vue4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/NavigationFolder.vue b/src/components/NavigationFolder.vue
index 8a2e4e0f2..f87aa9f59 100644
--- a/src/components/NavigationFolder.vue
+++ b/src/components/NavigationFolder.vue
@@ -172,6 +172,10 @@ export default {
*/
async fetchFolderStats() {
this.folderStats = null
+ if (this.account.isUnified || this.folder.specialRole === 'flagged') {
+ return
+ }
+
try {
const stats = await getFolderStats(this.account.id, this.folder.id)
logger.debug('loaded folder stats', {stats})