This commit is contained in:
@@ -50,7 +50,7 @@ export default {
|
||||
}),
|
||||
methods: {
|
||||
available() {
|
||||
return this.ayaType != 0;
|
||||
return this.dataListSelection.ObjectType != 0;
|
||||
},
|
||||
goHelp() {
|
||||
window.open(this.$store.state.helpUrl + "ay-ex-tags", "_blank");
|
||||
@@ -69,9 +69,7 @@ export default {
|
||||
//do the bulk action
|
||||
let vm = this;
|
||||
let url = "tag-list/";
|
||||
|
||||
let body = this.dataListSelection;
|
||||
console.log("body=", body);
|
||||
switch (vm.action) {
|
||||
case "Add":
|
||||
url += `bulk-add/${vm.tag}`;
|
||||
@@ -164,13 +162,6 @@ export default {
|
||||
}
|
||||
},
|
||||
props: {
|
||||
ayaType: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
selectedItems: {
|
||||
type: Array
|
||||
},
|
||||
dataListSelection: Object
|
||||
}
|
||||
};
|
||||
|
||||
@@ -11,10 +11,7 @@
|
||||
<v-card-subtitle class="mt-1">{{ titleText() }}</v-card-subtitle>
|
||||
<v-card-text>
|
||||
<v-expansion-panels focusable>
|
||||
<ExtensionTags
|
||||
:dataListSelection="dataListSelection"
|
||||
:ayaType="dataListSelection.ObjectType"
|
||||
/>
|
||||
<ExtensionTags :dataListSelection="dataListSelection" />
|
||||
</v-expansion-panels>
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
|
||||
Reference in New Issue
Block a user