This commit is contained in:
2020-10-23 21:01:56 +00:00
parent 7fb5da9cc9
commit 2d88c0d55b
2 changed files with 2 additions and 14 deletions

View File

@@ -50,7 +50,7 @@ export default {
}), }),
methods: { methods: {
available() { available() {
return this.ayaType != 0; return this.dataListSelection.ObjectType != 0;
}, },
goHelp() { goHelp() {
window.open(this.$store.state.helpUrl + "ay-ex-tags", "_blank"); window.open(this.$store.state.helpUrl + "ay-ex-tags", "_blank");
@@ -69,9 +69,7 @@ export default {
//do the bulk action //do the bulk action
let vm = this; let vm = this;
let url = "tag-list/"; let url = "tag-list/";
let body = this.dataListSelection; let body = this.dataListSelection;
console.log("body=", body);
switch (vm.action) { switch (vm.action) {
case "Add": case "Add":
url += `bulk-add/${vm.tag}`; url += `bulk-add/${vm.tag}`;
@@ -164,13 +162,6 @@ export default {
} }
}, },
props: { props: {
ayaType: {
type: Number,
default: 0
},
selectedItems: {
type: Array
},
dataListSelection: Object dataListSelection: Object
} }
}; };

View File

@@ -11,10 +11,7 @@
<v-card-subtitle class="mt-1">{{ titleText() }}</v-card-subtitle> <v-card-subtitle class="mt-1">{{ titleText() }}</v-card-subtitle>
<v-card-text> <v-card-text>
<v-expansion-panels focusable> <v-expansion-panels focusable>
<ExtensionTags <ExtensionTags :dataListSelection="dataListSelection" />
:dataListSelection="dataListSelection"
:ayaType="dataListSelection.ObjectType"
/>
</v-expansion-panels> </v-expansion-panels>
</v-card-text> </v-card-text>
<v-card-actions> <v-card-actions>