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