fix: fixed test cases
This commit is contained in:
@@ -52,7 +52,7 @@ const NotificationPreferenceColumn = ({ appId, channel, appPreference }) => {
|
||||
}, [appId]);
|
||||
|
||||
const renderPreference = (preference) => (
|
||||
(preference.coreNotificationTypes.length > 0 || preference.id !== 'core') && (
|
||||
(preference?.coreNotificationTypes?.length > 0 || preference.id !== 'core') && (
|
||||
<div
|
||||
key={`${preference.id}-${channel}`}
|
||||
id={`${preference.id}-${channel}`}
|
||||
|
||||
Reference in New Issue
Block a user