rename all variants of naming that hold an AyaType value to "aType" (parameter) / "AType" (not parameter) everywhere front and back; "ayType", "objectType", "oType" all are used in various areas

This commit is contained in:
2021-03-23 17:06:05 +00:00
parent f1777818bd
commit 01655061f3
69 changed files with 196 additions and 228 deletions

View File

@@ -29,10 +29,10 @@ export default {
await fetchTranslatedText(vm);
//NOTE: if extension doesn't support a particular object add it here to the NoType default
if (
vm.dataListSelection.ObjectType != 0 &&
vm.dataListSelection.ObjectType != window.$gz.type.PartInventoryRestock
vm.dataListSelection.AType != 0 &&
vm.dataListSelection.AType != window.$gz.type.PartInventoryRestock
) {
vm.rights = window.$gz.role.getRights(vm.dataListSelection.ObjectType);
vm.rights = window.$gz.role.getRights(vm.dataListSelection.AType);
}
vm.available = vm.rights.change;
},