diff options
Diffstat (limited to 'modern/src/settings/NotificationPage.jsx')
-rw-r--r-- | modern/src/settings/NotificationPage.jsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modern/src/settings/NotificationPage.jsx b/modern/src/settings/NotificationPage.jsx index cfb908b5..53eea8ae 100644 --- a/modern/src/settings/NotificationPage.jsx +++ b/modern/src/settings/NotificationPage.jsx @@ -73,8 +73,7 @@ const NotificationPage = () => { </AccordionSummary> <AccordionDetails className={classes.details}> <SelectField - value={item.type} - emptyValue={null} + value={item.type || null} onChange={(e) => setItem({ ...item, type: e.target.value })} endpoint="/api/notifications/types" keyGetter={(it) => it.type} |