Skip to content

Commit aafda4b

Browse files
[UI] Fix hook deps for BuildOutputTable (#11483)
- Closes #11280
1 parent c292e80 commit aafda4b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/frontend/src/tables/build/BuildOutputTable.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,7 @@ export default function BuildOutputTable({
573573
title: t`Complete`,
574574
tooltip: t`Complete build output`,
575575
color: 'green',
576+
hidden: !production,
576577
icon: <InvenTreeIcon icon='success' />,
577578
onClick: () => {
578579
setSelectedOutputs([record]);
@@ -608,7 +609,7 @@ export default function BuildOutputTable({
608609
}
609610
];
610611
},
611-
[buildStatus, user, partId, hasTrackedItems]
612+
[buildStatus, build.status, user, partId, hasTrackedItems]
612613
);
613614

614615
const tableColumns: TableColumn[] = useMemo(() => {

0 commit comments

Comments
 (0)