mirror of https://github.com/nextcloud/bookmarks
parent
474a5f44f6
commit
6266dbb6cb
|
@ -120,7 +120,7 @@ export default {
|
|||
Bookmark,
|
||||
Folder,
|
||||
NcNoteCard,
|
||||
MagnifyIcon
|
||||
MagnifyIcon,
|
||||
},
|
||||
computed: {
|
||||
bookmarks() {
|
||||
|
@ -130,7 +130,7 @@ export default {
|
|||
return this.$store.state.fetchState.reachedEnd
|
||||
},
|
||||
descriptionShown() {
|
||||
return this.$route.name === this.routes.ARCHIVED || (this.$route.name === this.routes.SEARCH && Number(this.$route.params.folder) !== -1) || this.$route.name === this.routes.UNAVAILABLE || this.$route.name === this.routes.SHARED_FOLDERS || this. $route.name === this.routes.DUPLICATED
|
||||
return this.$route.name === this.routes.ARCHIVED || (this.$route.name === this.routes.SEARCH && Number(this.$route.params.folder) !== -1) || this.$route.name === this.routes.UNAVAILABLE || this.$route.name === this.routes.SHARED_FOLDERS || this.$route.name === this.routes.DUPLICATED
|
||||
},
|
||||
allBookmarksCount() {
|
||||
return this.$store.state.countsByFolder[-1]
|
||||
|
|
|
@ -20,7 +20,9 @@
|
|||
@click.stop="folder.children.length && (childrenShown = false)" />
|
||||
{{ folder.title }}
|
||||
</h3>
|
||||
<NcCounterBubble v-if="typeof bookmarksCount !== 'undefined'">{{ bookmarksCount | largeNumbers }}</NcCounterBubble>
|
||||
<NcCounterBubble v-if="typeof bookmarksCount !== 'undefined'">
|
||||
{{ bookmarksCount | largeNumbers }}
|
||||
</NcCounterBubble>
|
||||
</div>
|
||||
<div v-if="showChildren && childrenShown" class="treefolder__children">
|
||||
<TreeFolder v-for="f in folder.children"
|
||||
|
|
Loading…
Reference in New Issue