mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-05 21:54:47 -04:00
Fix notifs page
This commit is contained in:
@@ -221,8 +221,8 @@ const NotificationOption = (props: {
|
||||
|
||||
const getSelectedValues = (destinations: string[]) => {
|
||||
const values: number[] = []
|
||||
if (destinations.includes('email')) values.push(0)
|
||||
if (destinations.includes('browser')) values.push(1)
|
||||
if ((destinations ?? []).includes('email')) values.push(0)
|
||||
if ((destinations ?? []).includes('browser')) values.push(1)
|
||||
return values
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user