diff --git a/backend/src/ee/services/secret-approval-request/secret-approval-request-fns.ts b/backend/src/ee/services/secret-approval-request/secret-approval-request-fns.ts index 466b4b94f..5a0c64b20 100644 --- a/backend/src/ee/services/secret-approval-request/secret-approval-request-fns.ts +++ b/backend/src/ee/services/secret-approval-request/secret-approval-request-fns.ts @@ -39,7 +39,6 @@ export const triggerSecretApprovalSlackNotif = async ({ environment, secretPath }: TTriggerSecretApprovalSlackNotif) => { - // construct message here const appCfg = getConfig(); const project = await projectDAL.findProjectWithOrg(projectId); const user = await userDAL.findById(secretApprovalRequest.committerUserId); diff --git a/frontend/src/hooks/api/workflowIntegrations/types.ts b/frontend/src/hooks/api/workflowIntegrations/types.ts index 9342af9f7..6d8820f2e 100644 --- a/frontend/src/hooks/api/workflowIntegrations/types.ts +++ b/frontend/src/hooks/api/workflowIntegrations/types.ts @@ -1,5 +1,5 @@ export enum WorkflowIntegrationPlatform { - SLACK = "slack" + SLACK = "Slack" } export type SlackIntegration = { diff --git a/frontend/src/views/Settings/OrgSettingsPage/components/OrgWorkflowIntegrationTab/AddWorkflowIntegrationForm.tsx b/frontend/src/views/Settings/OrgSettingsPage/components/OrgWorkflowIntegrationTab/AddWorkflowIntegrationForm.tsx index 63182dda1..e31147599 100644 --- a/frontend/src/views/Settings/OrgSettingsPage/components/OrgWorkflowIntegrationTab/AddWorkflowIntegrationForm.tsx +++ b/frontend/src/views/Settings/OrgSettingsPage/components/OrgWorkflowIntegrationTab/AddWorkflowIntegrationForm.tsx @@ -38,11 +38,7 @@ export const AddWorkflowIntegrationForm = ({ isOpen, onToggle }: Props) => { return ( handleFormReset(state)}> - + {wizardStep === WizardSteps.SelectPlatform && ( { return ( - + {workflowPlatform === WorkflowIntegrationPlatform.SLACK && ( onOpenChange(false)} /> )} diff --git a/frontend/src/views/Settings/OrgSettingsPage/components/OrgWorkflowIntegrationTab/SlackIntegrationForm.tsx b/frontend/src/views/Settings/OrgSettingsPage/components/OrgWorkflowIntegrationTab/SlackIntegrationForm.tsx index c72d8aae3..2c17fae59 100644 --- a/frontend/src/views/Settings/OrgSettingsPage/components/OrgWorkflowIntegrationTab/SlackIntegrationForm.tsx +++ b/frontend/src/views/Settings/OrgSettingsPage/components/OrgWorkflowIntegrationTab/SlackIntegrationForm.tsx @@ -89,7 +89,7 @@ export const SlackIntegrationForm = ({ id, onClose }: Props) => { control={control} name="slug" render={({ field, fieldState: { error } }) => ( - + )} @@ -104,13 +104,13 @@ export const SlackIntegrationForm = ({ id, onClose }: Props) => { )} /> {slackIntegration && ( - + )}