This commit is contained in:
@@ -8,12 +8,13 @@
|
||||
>
|
||||
<v-card>
|
||||
<v-card-title>{{ $ay.t("Extensions") }}</v-card-title>
|
||||
<v-card-subtitle class="mt-1" v-bind:class="subTitleClass()"
|
||||
>{{ $ay.t("SelectedItems") }} {{ dataListSelection }}</v-card-subtitle
|
||||
>
|
||||
<v-card-subtitle class="mt-1">{{ titleText() }}</v-card-subtitle>
|
||||
<v-card-text>
|
||||
<v-expansion-panels focusable>
|
||||
<ExtensionTags :ayaType="dataListSelection.ObjectType" />
|
||||
<ExtensionTags
|
||||
:dataListSelection="dataListSelection"
|
||||
:ayaType="dataListSelection.ObjectType"
|
||||
/>
|
||||
</v-expansion-panels>
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
@@ -42,11 +43,13 @@ export default {
|
||||
}
|
||||
}),
|
||||
methods: {
|
||||
subTitleClass() {
|
||||
// if (this.selectedItems.length < 1) {
|
||||
// return "warning--text";
|
||||
// }
|
||||
return "primary--text";
|
||||
titleText() {
|
||||
if (this.dataListSelection.selectedRowIds.length < 1) {
|
||||
return this.$ay.t("AllItemsInList");
|
||||
}
|
||||
return `${this.$ay.t("SelectedItems")} ${
|
||||
this.dataListSelection.selectedRowIds.length
|
||||
}`;
|
||||
},
|
||||
open(dls) {
|
||||
this.dataListSelection = dls;
|
||||
|
||||
Reference in New Issue
Block a user