This commit is contained in:
Andrew Bastin
2021-05-29 22:43:05 -04:00
parent fe8bbc6cc8
commit 9ad22e2600
6 changed files with 44 additions and 22 deletions

View File

@@ -156,18 +156,20 @@ export default Vue.extend({
},
computed: {
isSelected(): boolean {
return this.picked &&
this.picked.pickedType === "gql-my-folder" &&
return (
this.picked &&
this.picked.pickedType === "gql-my-folder" &&
this.picked.folderPath === this.folderPath
}
)
},
},
methods: {
pick() {
this.$emit('select', {
this.$emit("select", {
picked: {
pickedType: "gql-my-folder",
folderPath: this.folderPath
}
folderPath: this.folderPath,
},
})
},
toggleShowChildren() {