refactor: minor ui improvements
This commit is contained in:
@@ -218,7 +218,7 @@ export default defineComponent({
|
||||
getCollectionIcon() {
|
||||
if (this.isSelected) return "check-circle"
|
||||
else if (!this.showChildren && !this.isFiltered) return "folder"
|
||||
else if (this.showChildren || this.isFiltered) return "folder-minus"
|
||||
else if (this.showChildren || this.isFiltered) return "folder-open"
|
||||
else return "folder"
|
||||
},
|
||||
},
|
||||
|
||||
@@ -204,7 +204,7 @@ export default defineComponent({
|
||||
getCollectionIcon() {
|
||||
if (this.isSelected) return "check-circle"
|
||||
else if (!this.showChildren && !this.isFiltered) return "folder"
|
||||
else if (this.showChildren || this.isFiltered) return "folder-minus"
|
||||
else if (this.showChildren || this.isFiltered) return "folder-open"
|
||||
else return "folder"
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user