mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-09 22:45:06 +00:00
Allow sub-builds to be created for pending builds (#9972)
This commit is contained in:
@ -577,10 +577,7 @@ export default function BuildLineTable({
|
|||||||
part.purchaseable;
|
part.purchaseable;
|
||||||
|
|
||||||
const canBuild =
|
const canBuild =
|
||||||
in_production &&
|
!consumable && user.hasAddRole(UserRoles.build) && part.assembly;
|
||||||
!consumable &&
|
|
||||||
user.hasAddRole(UserRoles.build) &&
|
|
||||||
part.assembly;
|
|
||||||
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user