This commit is contained in:
@@ -9,12 +9,11 @@
|
||||
<v-card>
|
||||
<v-card-title>{{ $ay.t("Extensions") }}</v-card-title>
|
||||
<v-card-subtitle class="mt-1" v-bind:class="subTitleClass()"
|
||||
>{{ $ay.t("SelectedItems") }}
|
||||
{{ selectedItems.length }}</v-card-subtitle
|
||||
>{{ $ay.t("SelectedItems") }} {{ dataListSelection }}</v-card-subtitle
|
||||
>
|
||||
<v-card-text>
|
||||
<v-expansion-panels focusable>
|
||||
<ExtensionTags :ayaType="ayaType" :selectedItems="selectedItems" />
|
||||
<ExtensionTags :ayaType="dataListSelection.ObjectType" />
|
||||
</v-expansion-panels>
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
@@ -34,25 +33,23 @@ export default {
|
||||
data: () => ({
|
||||
isVisible: false,
|
||||
resolve: null,
|
||||
reject: null
|
||||
}),
|
||||
props: {
|
||||
ayaType: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
selectedItems: {
|
||||
type: Array
|
||||
reject: null,
|
||||
dataListSelection: {
|
||||
ObjectType: 0,
|
||||
selectedRowIds: [],
|
||||
dataListKey: null,
|
||||
listView: null
|
||||
}
|
||||
},
|
||||
}),
|
||||
methods: {
|
||||
subTitleClass() {
|
||||
if (this.selectedItems.length < 1) {
|
||||
return "warning--text";
|
||||
}
|
||||
// if (this.selectedItems.length < 1) {
|
||||
// return "warning--text";
|
||||
// }
|
||||
return "primary--text";
|
||||
},
|
||||
open() {
|
||||
open(dls) {
|
||||
this.dataListSelection = dls;
|
||||
this.isVisible = true;
|
||||
return new Promise((resolve, reject) => {
|
||||
this.resolve = resolve;
|
||||
|
||||
Reference in New Issue
Block a user