This commit is contained in:
@@ -28,7 +28,10 @@ export default {
|
||||
let vm = this;
|
||||
await fetchTranslatedText(vm);
|
||||
//NOTE: if extension doesn't support a particular object add it here to the NoType default
|
||||
if (vm.dataListSelection.ObjectType != 0) {
|
||||
if (
|
||||
vm.dataListSelection.ObjectType != 0 &&
|
||||
vm.dataListSelection.ObjectType != window.$gz.type.PartInventoryRestock
|
||||
) {
|
||||
vm.rights = window.$gz.role.getRights(vm.dataListSelection.ObjectType);
|
||||
}
|
||||
vm.available = vm.rights.change;
|
||||
|
||||
Reference in New Issue
Block a user