Skip to content

Commit

Permalink
Fixed bug on the Filaments page
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishamm committed May 15, 2020
1 parent 447cb1d commit 0e7efba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/lists/FilamentFileList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ export default {
filamentsDirectory: state => state.directories.filaments,
tools: state => state.tools
}),
isRootDirectory() { return this.directory === this.filamentsDirectory; },
filamentSelected() { return (this.directory === this.filamentsDirectory) && (this.selection.length === 1) && this.selection[0].isDirectory; }
isRootDirectory() { return Path.equals(this.directory, this.filamentsDirectory); },
filamentSelected() { return Path.equals(this.directory, this.filamentsDirectory) && (this.selection.length === 1) && this.selection[0].isDirectory; }
},
data() {
return {
Expand Down

0 comments on commit 0e7efba

Please sign in to comment.