Skip to content

Commit

Permalink
fix(FileListInfo): Don't show info header if collectivesFolder is /
Browse files Browse the repository at this point in the history
This fixes the info header being always displayed for guest users.

Fixes: #893

Signed-off-by: Jonas <jonas@freesources.org>
  • Loading branch information
mejo- committed Nov 14, 2023
1 parent 3d1e9bb commit db3f8e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/FileListInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default {
methods: {
setActive() {
this.active = this.collectivesFolder && this.path.startsWith(this.collectivesFolder)
this.active = this.collectivesFolder && this.collectivesFolder !== '/' && this.path.startsWith(this.collectivesFolder)
},
},
}
Expand Down

0 comments on commit db3f8e7

Please sign in to comment.