This commit is contained in:
@@ -5,6 +5,9 @@
|
|||||||
|
|
||||||
MISC ITEMS THAT CAME UP
|
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
|
todo: if list view not found / deleted when grid list form is opened rather than erroring with object/object it should
|
||||||
handle more elegantly:
|
handle more elegantly:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
export default {
|
export default {
|
||||||
version: "8.0.0-alpha.94",
|
version: "8.0.0-alpha.95",
|
||||||
copyright: "© 1999-2020, Ground Zero Tech-Works Inc."
|
copyright: "© 1999-2020, Ground Zero Tech-Works Inc."
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-expansion-panel v-if="available()">
|
<v-expansion-panel v-if="available == true">
|
||||||
<v-expansion-panel-header disable-icon-rotate expand-icon="$ayiTags">{{
|
<v-expansion-panel-header disable-icon-rotate expand-icon="$ayiTags">{{
|
||||||
$ay.t("Tags")
|
$ay.t("Tags")
|
||||||
}}</v-expansion-panel-header>
|
}}</v-expansion-panel-header>
|
||||||
@@ -42,16 +42,23 @@
|
|||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
export default {
|
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: () => ({
|
data: () => ({
|
||||||
action: "Add",
|
action: "Add",
|
||||||
tag: null,
|
tag: null,
|
||||||
replace: null,
|
replace: null,
|
||||||
jobActive: false
|
jobActive: false,
|
||||||
|
rights: window.$gz.role.defaultRightsObject(),
|
||||||
|
available: false
|
||||||
}),
|
}),
|
||||||
methods: {
|
methods: {
|
||||||
available() {
|
|
||||||
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");
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user