This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
|
||||
MISC ITEMS THAT CAME UP
|
||||
|
||||
todo: read only user can mass tag attempt but errors from server
|
||||
don't show extensions that don't have rights for
|
||||
|
||||
|
||||
todo: if list view not found / deleted when grid list form is opened rather than erroring with object/object it should
|
||||
handle more elegantly:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export default {
|
||||
version: "8.0.0-alpha.94",
|
||||
version: "8.0.0-alpha.95",
|
||||
copyright: "© 1999-2020, Ground Zero Tech-Works Inc."
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<v-expansion-panel v-if="available()">
|
||||
<v-expansion-panel v-if="available == true">
|
||||
<v-expansion-panel-header disable-icon-rotate expand-icon="$ayiTags">{{
|
||||
$ay.t("Tags")
|
||||
}}</v-expansion-panel-header>
|
||||
@@ -42,16 +42,23 @@
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
created() {
|
||||
let vm = this;
|
||||
//NOTE: if extension doesn't support a particular object add it here to the NoType default
|
||||
if (vm.dataListSelection.ObjectType != 0) {
|
||||
vm.rights = window.$gz.role.getRights(vm.dataListSelection.ObjectType);
|
||||
}
|
||||
vm.available = vm.rights.change;
|
||||
},
|
||||
data: () => ({
|
||||
action: "Add",
|
||||
tag: null,
|
||||
replace: null,
|
||||
jobActive: false
|
||||
jobActive: false,
|
||||
rights: window.$gz.role.defaultRightsObject(),
|
||||
available: false
|
||||
}),
|
||||
methods: {
|
||||
available() {
|
||||
return this.dataListSelection.ObjectType != 0;
|
||||
},
|
||||
goHelp() {
|
||||
window.open(this.$store.state.helpUrl + "ay-ex-tags", "_blank");
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user