mirror of
https://github.com/filegator/filegator.git
synced 2025-08-13 18:54:45 +02:00
Fix for #30
This commit is contained in:
@@ -193,9 +193,9 @@ export default {
|
|||||||
return this.$store.state.cwd.content
|
return this.$store.state.cwd.content
|
||||||
},
|
},
|
||||||
totalCount() {
|
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'
|
return o.type == 'file' || o.type == 'dir'
|
||||||
}) || 0
|
}))
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
Reference in New Issue
Block a user