fix(lint)

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2024-02-04 14:06:34 +01:00
parent 474a5f44f6
commit 6266dbb6cb
2 changed files with 5 additions and 3 deletions

View File

@ -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]

View File

@ -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"