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

View File

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