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:
@@ -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;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user