This commit is contained in:
Milos Stojanovic
2020-01-03 09:38:49 +01:00
parent 83855bc7d1
commit b8511b226b

View File

@@ -193,9 +193,9 @@ export default {
return this.$store.state.cwd.content
},
totalCount() {
return _.sumBy(this.$store.state.cwd.content, (o) => {
return Number(_.sumBy(this.$store.state.cwd.content, (o) => {
return o.type == 'file' || o.type == 'dir'
}) || 0
}))
},
},
watch: {