diff options
author | GretaD <gretadoci@gmail.com> | 2020-02-04 16:03:23 +0300 |
---|---|---|
committer | GretaD <gretadoci@gmail.com> | 2020-02-04 16:20:10 +0300 |
commit | a21852e2316693f2c34782962e31c51c97b26626 (patch) | |
tree | b154163fb9af0e48abd0430287ee7391d19b60fd /src | |
parent | 18c8424579b361414f55bcd8131b35473b7417af (diff) |
Fix fetchFolderStats function
Signed-off-by: GretaD <gretadoci@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/NavigationFolder.vue | 4 |
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}) |