mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 20:15:44 +00:00
[Bug] Fix issue with build order lines table (#8376)
* Revert change to BuildItem API - Requires "allocations" for build output table - Probably can refactor this later * Bug fix for BuildOutputTable in PUI - Correct calculation for "fully allocated" * Adjust annotations for serializer * Bump API version
This commit is contained in:
@ -153,7 +153,7 @@ export default function BuildOutputTable({
|
||||
|
||||
// Find all allocations which match the build output
|
||||
let allocations = item.allocations.filter(
|
||||
(allocation: any) => (allocation.install_into = record.pk)
|
||||
(allocation: any) => allocation.install_into == record.pk
|
||||
);
|
||||
|
||||
allocations.forEach((allocation: any) => {
|
||||
|
Reference in New Issue
Block a user