refactor: minor ui improvements
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
v-if="mode == 'import_from_my_collections'"
|
||||
v-tippy="{ theme: 'tooltip' }"
|
||||
:title="$t('action.go_back')"
|
||||
class="rounded"
|
||||
svg="arrow-left"
|
||||
@click.native="
|
||||
() => {
|
||||
@@ -34,7 +33,6 @@
|
||||
<ButtonSecondary
|
||||
v-tippy="{ theme: 'tooltip' }"
|
||||
:title="$t('action.more')"
|
||||
class="rounded"
|
||||
svg="more-vertical"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -191,7 +191,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"
|
||||
},
|
||||
},
|
||||
|
||||
@@ -189,7 +189,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"
|
||||
},
|
||||
},
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
<ButtonSecondary
|
||||
v-tippy="{ theme: 'tooltip' }"
|
||||
:title="$t('action.more')"
|
||||
class="rounded"
|
||||
svg="more-vertical"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
},
|
||||
|
||||
@@ -210,7 +210,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"
|
||||
},
|
||||
},
|
||||
|
||||
@@ -192,7 +192,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