[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:
Oliver authored and GitHub committed 2024-10-28 17:06:09 +11:00
1 parent 21ab1a184d
commit 6953640161
3 files changed
+13 -2

No files matched your search

@@ -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) => {