From 57508b29da60486243547894e66125a1f12e4e26 Mon Sep 17 00:00:00 2001 From: DustyD Date: Thu, 14 Nov 2024 15:46:56 -0800 Subject: [PATCH] feat: remove the restriction of editing tpt (#1721) Co-authored-by: Xiao Peng --- .../SeedlotReview/SeedlotReviewContent.tsx | 25 +++++++------------ 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/frontend/src/views/Seedlot/SeedlotReview/SeedlotReviewContent.tsx b/frontend/src/views/Seedlot/SeedlotReview/SeedlotReviewContent.tsx index c2e6b6ac8..a7f45fb1f 100644 --- a/frontend/src/views/Seedlot/SeedlotReview/SeedlotReviewContent.tsx +++ b/frontend/src/views/Seedlot/SeedlotReview/SeedlotReviewContent.tsx @@ -544,22 +544,15 @@ const SeedlotReviewContent = () => { } /> - { - // Seedlots that have 'CUS' or 'UPT' as source should not be edited. - seedlotData?.seedlotSource.seedlotSourceCode === 'TPT' - ? ( - - ) - : null - } +