Skip to content

Commit

Permalink
update if check
Browse files Browse the repository at this point in the history
  • Loading branch information
milan-deepfence committed Jul 5, 2024
1 parent 5243e67 commit 5d7ba37
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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')
);
};

Expand Down

0 comments on commit 5d7ba37

Please sign in to comment.