diff --git a/frontend/src/components/v2/Table/Table.tsx b/frontend/src/components/v2/Table/Table.tsx index 82cfffd21..0880b3362 100644 --- a/frontend/src/components/v2/Table/Table.tsx +++ b/frontend/src/components/v2/Table/Table.tsx @@ -79,7 +79,7 @@ export const Tr = ({ }: TrProps): JSX.Element => ( ) : (
-
+
@@ -324,7 +325,12 @@ export const SecretDropzone = ({ )} /> - + } + >
Secrets
-
+
)} -
+
{isSecretsLoading && Array.apply(0, Array(2)).map((_x, i) => ( { const { currentWorkspace } = useWorkspace(); + console.log({ currentWorkspace }); + const environments = currentWorkspace?.environments || []; const customRule = useWatch({ control, @@ -98,7 +101,7 @@ export const MultiEnvProjectPermission = ({ return (
-
-
{title}
+
+
{title}
{subtitle}
@@ -130,12 +133,19 @@ export const MultiEnvProjectPermission = ({ animate={{ height: isCustom ? "auto" : 0 }} className="overflow-hidden" > - + + diff --git a/frontend/src/views/Project/MembersPage/components/ProjectRoleListTab/components/ProjectRoleModifySection/ProjectRoleModifySection.tsx b/frontend/src/views/Project/MembersPage/components/ProjectRoleListTab/components/ProjectRoleModifySection/ProjectRoleModifySection.tsx index ec8bbfb06..ab8787aec 100644 --- a/frontend/src/views/Project/MembersPage/components/ProjectRoleListTab/components/ProjectRoleModifySection/ProjectRoleModifySection.tsx +++ b/frontend/src/views/Project/MembersPage/components/ProjectRoleListTab/components/ProjectRoleModifySection/ProjectRoleModifySection.tsx @@ -180,7 +180,7 @@ export const ProjectRoleModifySection = ({ role, onGoBack }: Props) => { return (
-
+

{isNewRole ? "New" : "Edit"} Role

@@ -222,11 +222,11 @@ export const ProjectRoleModifySection = ({ role, onGoBack }: Props) => { > -
+

Add Permission

-
+
setSearchPermission(e.target.value)} @@ -274,7 +274,7 @@ export const ProjectRoleModifySection = ({ role, onGoBack }: Props) => { />
-
+
- } - position="right" - className="text-xs" - > -
setShowTip(true)} - > - -
- - } + icon={} isRequired isError={Boolean(errors?.secretPath)} errorText={errors?.secretPath?.message}
- Secret Path +
+ Secret Path + + + +
+
View Create Modify