diff --git a/apps/files/src/components/AllFilesList.vue b/apps/files/src/components/AllFilesList.vue
index 255783ebf7e..c0b0aa15e80 100644
--- a/apps/files/src/components/AllFilesList.vue
+++ b/apps/files/src/components/AllFilesList.vue
@@ -47,7 +47,7 @@
‐ {{ filesTotalSize | fileSize }}
-
+
Used space: {{ quota.used | fileSize }}
@@ -158,11 +158,19 @@ export default {
},
computed: {
...mapState(['route']),
- ...mapGetters('Files', ['loadingFolder', 'activeFiles', 'quota', 'filesTotalSize', 'activeFilesCount']),
+ ...mapGetters('Files', ['loadingFolder', 'activeFiles', 'quota', 'filesTotalSize', 'activeFilesCount', 'currentFolder']),
...mapGetters(['configuration']),
item () {
return this.$route.params.item
+ },
+
+ quotaVisible () {
+ return (
+ !this.publicPage() &&
+ this.currentFolder &&
+ !this.currentFolder.isMounted()
+ )
}
},
watch: {