From 57a2de6ffc6f949ab8882b2063bbd8f55a1da48b Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 17 Nov 2025 19:52:35 +1100 Subject: [PATCH] [UI] Remove duplicate action (#10844) - "Build Output" is same as "stock item" in this case --- src/frontend/src/tables/build/BuildOutputTable.tsx | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/frontend/src/tables/build/BuildOutputTable.tsx b/src/frontend/src/tables/build/BuildOutputTable.tsx index 1e97c5610a..319db2476f 100644 --- a/src/frontend/src/tables/build/BuildOutputTable.tsx +++ b/src/frontend/src/tables/build/BuildOutputTable.tsx @@ -23,11 +23,7 @@ import { useNavigate } from 'react-router-dom'; import { ActionButton } from '@lib/components/ActionButton'; import { AddItemButton } from '@lib/components/AddItemButton'; import { ProgressBar } from '@lib/components/ProgressBar'; -import { - type RowAction, - RowEditAction, - RowViewAction -} from '@lib/components/RowActions'; +import { type RowAction, RowEditAction } from '@lib/components/RowActions'; import { ApiEndpoints } from '@lib/enums/ApiEndpoints'; import { ModelType } from '@lib/enums/ModelType'; import { UserRoles } from '@lib/enums/Roles'; @@ -569,13 +565,7 @@ export default function BuildOutputTable({ setSelectedOutputs([record]); cancelBuildOutputsForm.open(); } - }, - RowViewAction({ - title: t`View Build Output`, - modelId: record.pk, - modelType: ModelType.stockitem, - navigate: navigate - }) + } ]; }, [buildStatus, user, partId, hasTrackedItems]