diff --git a/deepfence_frontend/apps/dashboard/src/features/integrations/components/integration-form/utils.ts b/deepfence_frontend/apps/dashboard/src/features/integrations/components/integration-form/utils.ts index 9aaefb91e9..aa71917a7e 100644 --- a/deepfence_frontend/apps/dashboard/src/features/integrations/components/integration-form/utils.ts +++ b/deepfence_frontend/apps/dashboard/src/features/integrations/components/integration-form/utils.ts @@ -91,8 +91,9 @@ export const isJiraIntegration = (integrationType: string) => { export const isCloudComplianceNotification = (notificationType: string) => { return ( - (notificationType && notificationType.toLowerCase() === 'cloudcompliance') || - notificationType?.toLowerCase() === 'cloud_compliance' + notificationType && + (notificationType.toLowerCase() === 'cloudcompliance' || + notificationType.toLowerCase() === 'cloud_compliance') ); };