feat(rbac): made org role section permission into one component and fixed some small issues

This commit is contained in:
Akhil Mohan
2023-09-08 21:22:36 +05:30
parent f1a291a52a
commit cb9ee00ed3
16 changed files with 134 additions and 984 deletions
@@ -658,7 +658,7 @@ export const DashboardPage = withProjectPermission(
}, [selectedEnv?.slug, (popUp?.deleteFolder?.data as TDeleteFolderForm)?.id]);
// SECRET IMPORT SECTION
const handleSecretImportCreate = async (env: string, secretPath: string) => {
const handleSecretImportCreate = async (env: string, secPath: string) => {
try {
await createSecretImport({
workspaceId,
@@ -666,7 +666,7 @@ export const DashboardPage = withProjectPermission(
folderId,
secretImport: {
environment: env,
secretPath
secretPath: secPath
}
});
createNotification({