diff --git a/.circleci/config.yml b/.circleci/config.yml index 5f3cac937..66daffecf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -226,7 +226,7 @@ workflows: branches: only: - dev - - pm-3141_3 + - pm-3141_fix - deployQa: context: org-global diff --git a/src/apps/review/src/lib/components/Scorecard/ScorecardViewer/ScorecardQuestion/ReviewResponse/ReviewManagerComment/ReviewManagerComment.tsx b/src/apps/review/src/lib/components/Scorecard/ScorecardViewer/ScorecardQuestion/ReviewResponse/ReviewManagerComment/ReviewManagerComment.tsx index 99ace9f3c..82f26a1a8 100644 --- a/src/apps/review/src/lib/components/Scorecard/ScorecardViewer/ScorecardQuestion/ReviewResponse/ReviewManagerComment/ReviewManagerComment.tsx +++ b/src/apps/review/src/lib/components/Scorecard/ScorecardViewer/ScorecardQuestion/ReviewResponse/ReviewManagerComment/ReviewManagerComment.tsx @@ -31,6 +31,7 @@ interface ReviewManagerCommentProps { const ReviewManagerComment: FC = props => { const { isManagerEdit, + canAddManagerComment, isSavingManagerComment, addManagerComment, }: ScorecardViewerContextValue = useScorecardViewerContext() @@ -131,7 +132,7 @@ const ReviewManagerComment: FC = props => { )} - {!showCommentForm && !comment && isManagerEdit && ( + {!showCommentForm && !comment && isManagerEdit && canAddManagerComment && (