dark mode update

This commit is contained in:
carodej
2020-07-09 10:56:17 +02:00
parent a43f0e6908
commit 5a9f5813c8
89 changed files with 1633 additions and 912 deletions

View File

@@ -110,8 +110,12 @@
'homeDirectory',
]),
hasCapacity() {
//return this.$store.getters.user.relationships.storage.data.attributes.used <= 100
return true
if (! this.$store.getters.config.storageLimit) {
return true
}
return this.$store.getters.user.relationships.storage.data.attributes.used <= 100
},
directoryName() {
return this.currentFolder ? this.currentFolder.name : this.homeDirectory.name