Skip to content

Commit

Permalink
(chore) change === logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Achintha Isuru committed Nov 19, 2023
1 parent 19bc95f commit 8bfeed8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const NotificationChannelPage: FunctionComponent<NotificationChannelPageI
pageTitle: string;
title: string;
} => {
if (isEmailProviderEnabled === isSMSProviderEnabled) {
if ((isEmailProviderEnabled && isSMSProviderEnabled) || (!isEmailProviderEnabled && !isSMSProviderEnabled)) {
return {
description: t("extensions:develop.notificationChannel.description.description"),
pageTitle: t("extensions:develop.notificationChannel.heading.heading"),
Expand Down

0 comments on commit 8bfeed8

Please sign in to comment.