From ffa11fa20a91f8548833fc871024fcdef88fecc5 Mon Sep 17 00:00:00 2001 From: rstubryan Date: Thu, 6 Nov 2025 15:46:21 +0700 Subject: [PATCH] feat(FE-170): add grading button for laying category in RecordingTable --- .../pages/production/recording/RecordingTable.tsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/components/pages/production/recording/RecordingTable.tsx b/src/components/pages/production/recording/RecordingTable.tsx index b2508a6c..0c1f47d9 100644 --- a/src/components/pages/production/recording/RecordingTable.tsx +++ b/src/components/pages/production/recording/RecordingTable.tsx @@ -48,6 +48,9 @@ const RowOptionsMenu = ({ approveClickHandler: () => void; rejectClickHandler: () => void; }) => { + const isLayingCategory = + props.row.original.project_flock_category === 'LAYING'; + return ( + {isLayingCategory && ( + + )}