This commit is contained in:
2020-07-07 19:44:40 +00:00
parent 7d79d8123b
commit cee0fb6ac1
2 changed files with 8 additions and 24 deletions

View File

@@ -8,7 +8,7 @@
>
<v-card>
<v-card-title>{{ $ay.t("Extensions") }}</v-card-title>
<v-card-subtitle class="mt-1"
<v-card-subtitle class="mt-1" v-bind:class="subTitleClass()"
>{{ $ay.t("SelectedItems") }}
{{ selectedItems.length }}</v-card-subtitle
>
@@ -46,6 +46,12 @@ export default {
}
},
methods: {
subTitleClass() {
if (this.selectedItems.length < 1) {
return "warning--text";
}
return "primary--text";
},
open() {
this.isVisible = true;
return new Promise((resolve, reject) => {