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
path: root/src
diff options
context:
space:
mode:
authorGretaD <gretadoci@gmail.com>2020-02-04 16:03:23 +0300
committerGretaD <gretadoci@gmail.com>2020-02-04 16:20:10 +0300
commita21852e2316693f2c34782962e31c51c97b26626 (patch)
treeb154163fb9af0e48abd0430287ee7391d19b60fd /src
parent18c8424579b361414f55bcd8131b35473b7417af (diff)
Fix fetchFolderStats function
Signed-off-by: GretaD <gretadoci@gmail.com>
Diffstat (limited to 'src')
-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})