chore: lint

This commit is contained in:
liyasthomas
2021-06-16 19:13:07 +05:30
parent 0a4251825b
commit 3559d98df1
8 changed files with 42 additions and 10 deletions

View File

@@ -190,7 +190,11 @@ export default {
removeFolder() {
if (this.collectionsType.selectedTeam.myRole !== "VIEWER") {
// Cancel pick if picked collection folder was deleted
if (this.picked && this.picked.pickedType === "teams-folder" && this.picked.folderID === this.folder.id) {
if (
this.picked &&
this.picked.pickedType === "teams-folder" &&
this.picked.folderID === this.folder.id
) {
this.$emit("select", { picked: null })
}