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: {
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
}
};

View File

@@ -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>