From f379217604b30700c5133b7463640ccc33641b83 Mon Sep 17 00:00:00 2001 From: Piyush Gupta Date: Fri, 21 Nov 2025 00:20:47 +0530 Subject: [PATCH] fix: review comments --- .../components/AddGroupProjectModal.tsx | 2 +- .../GroupProjectsSection/GroupProjectsSection.tsx | 2 +- .../components/GroupProjectsSection/GroupProjectsTable.tsx | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/pages/organization/GroupDetailsByIDPage/components/AddGroupProjectModal.tsx b/frontend/src/pages/organization/GroupDetailsByIDPage/components/AddGroupProjectModal.tsx index 3c4dc93d5..c7040ec54 100644 --- a/frontend/src/pages/organization/GroupDetailsByIDPage/components/AddGroupProjectModal.tsx +++ b/frontend/src/pages/organization/GroupDetailsByIDPage/components/AddGroupProjectModal.tsx @@ -85,7 +85,7 @@ export const AddGroupProjectModal = ({ popUp, handlePopUpToggle }: Props) => { }); createNotification({ - text: `Successfully assigned project ${projectName} to the group`, + text: `Successfully assigned the group to project ${projectName}`, type: "success" }); }; diff --git a/frontend/src/pages/organization/GroupDetailsByIDPage/components/GroupProjectsSection/GroupProjectsSection.tsx b/frontend/src/pages/organization/GroupDetailsByIDPage/components/GroupProjectsSection/GroupProjectsSection.tsx index 0214020d0..d6997c6cb 100644 --- a/frontend/src/pages/organization/GroupDetailsByIDPage/components/GroupProjectsSection/GroupProjectsSection.tsx +++ b/frontend/src/pages/organization/GroupDetailsByIDPage/components/GroupProjectsSection/GroupProjectsSection.tsx @@ -31,7 +31,7 @@ export const GroupProjectsSection = ({ groupId, groupSlug }: Props) => { }); createNotification({ - text: `Successfully removed group from project ${projectName}`, + text: `Successfully removed the group from project ${projectName}`, type: "success" }); diff --git a/frontend/src/pages/organization/GroupDetailsByIDPage/components/GroupProjectsSection/GroupProjectsTable.tsx b/frontend/src/pages/organization/GroupDetailsByIDPage/components/GroupProjectsSection/GroupProjectsTable.tsx index 5cad23667..688e5a692 100644 --- a/frontend/src/pages/organization/GroupDetailsByIDPage/components/GroupProjectsSection/GroupProjectsTable.tsx +++ b/frontend/src/pages/organization/GroupDetailsByIDPage/components/GroupProjectsSection/GroupProjectsTable.tsx @@ -149,14 +149,14 @@ export const GroupProjectsTable = ({ groupId, groupSlug, handlePopUpOpen }: Prop {isEmpty && ( )} - {!groupMemberships?.projects.length && ( + {isEmpty && ( {(isAllowed) => (