From 6cf28672e63ec2ab0130e3caac9ee7040033162e Mon Sep 17 00:00:00 2001 From: David Zager Date: Wed, 21 Feb 2024 14:07:04 -0500 Subject: [PATCH] :bug: application can only have one review Signed-off-by: David Zager --- .../application-detail-drawer.tsx | 2 +- .../application-detail-drawer/review-fields.tsx | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/client/src/app/pages/applications/components/application-detail-drawer/application-detail-drawer.tsx b/client/src/app/pages/applications/components/application-detail-drawer/application-detail-drawer.tsx index 6219a3e0f4..d978ae10a1 100644 --- a/client/src/app/pages/applications/components/application-detail-drawer/application-detail-drawer.tsx +++ b/client/src/app/pages/applications/components/application-detail-drawer/application-detail-drawer.tsx @@ -425,7 +425,7 @@ export const ApplicationDetailDrawer: React.FC< {t("terms.reviews")}} + title={{t("terms.review")}} > diff --git a/client/src/app/pages/applications/components/application-detail-drawer/review-fields.tsx b/client/src/app/pages/applications/components/application-detail-drawer/review-fields.tsx index 2910035619..f40fdfce1c 100644 --- a/client/src/app/pages/applications/components/application-detail-drawer/review-fields.tsx +++ b/client/src/app/pages/applications/components/application-detail-drawer/review-fields.tsx @@ -4,11 +4,8 @@ import { DescriptionListGroup, DescriptionListTerm, DescriptionListDescription, - Title, - TextContent, } from "@patternfly/react-core"; import { Application, Archetype, Review } from "@app/api/models"; -import spacing from "@patternfly/react-styles/css/utilities/Spacing/spacing"; import { useFetchReviewById, useFetchReviews } from "@app/queries/reviews"; import { useFetchArchetypes } from "@app/queries/archetypes"; import { EmptyTextMessage } from "@app/components/EmptyTextMessage"; @@ -75,11 +72,6 @@ export const ReviewFields: React.FC<{ return ( <> - - - {t("terms.review")} - - {t("terms.proposedAction")}