mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
fix: review comments
This commit is contained in:
@@ -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"
|
||||
});
|
||||
};
|
||||
|
||||
@@ -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"
|
||||
});
|
||||
|
||||
|
||||
@@ -149,14 +149,14 @@ export const GroupProjectsTable = ({ groupId, groupSlug, handlePopUpOpen }: Prop
|
||||
{isEmpty && (
|
||||
<EmptyState
|
||||
title={
|
||||
groupMemberships?.projects.length
|
||||
debouncedSearch
|
||||
? "No projects match this search..."
|
||||
: "This group is not a part of any projects yet"
|
||||
}
|
||||
icon={groupMemberships?.projects.length ? faSearch : faFolder}
|
||||
icon={debouncedSearch ? faSearch : faFolder}
|
||||
/>
|
||||
)}
|
||||
{!groupMemberships?.projects.length && (
|
||||
{isEmpty && (
|
||||
<OrgPermissionCan I={OrgPermissionGroupActions.Edit} a={OrgPermissionSubjects.Groups}>
|
||||
{(isAllowed) => (
|
||||
<div className="mb-4 flex items-center justify-center">
|
||||
|
||||
Reference in New Issue
Block a user