diff --git a/ui/component/notification/view.jsx b/ui/component/notification/view.jsx index 3219bd036..1f1d15354 100644 --- a/ui/component/notification/view.jsx +++ b/ui/component/notification/view.jsx @@ -74,6 +74,9 @@ export default function Notification(props: Props) { case NOTIFICATIONS.NEW_CONTENT: icon = ; break; + case NOTIFICATIONS.NEW_LIVESTREAM: + icon = ; + break; case NOTIFICATIONS.DAILY_WATCH_AVAILABLE: case NOTIFICATIONS.DAILY_WATCH_REMIND: icon = ; @@ -147,12 +150,13 @@ export default function Notification(props: Props) { {notification_rule === NOTIFICATIONS.NEW_CONTENT && ( - <> - - + + )} + {notification_rule === NOTIFICATIONS.NEW_LIVESTREAM && ( + )} diff --git a/ui/constants/notifications.js b/ui/constants/notifications.js index 76241b6ca..57a7471df 100644 --- a/ui/constants/notifications.js +++ b/ui/constants/notifications.js @@ -4,6 +4,7 @@ export const NOTIFICATION_REPLY = 'comment-reply'; export const DAILY_WATCH_AVAILABLE = 'daily_watch_available'; export const DAILY_WATCH_REMIND = 'daily_watch_remind'; export const NEW_CONTENT = 'new_content'; +export const NEW_LIVESTREAM = 'new_livestream'; export const NOTIFICATION_RULE_NONE = ''; export const NOTIFICATION_RULE_COMMENTS = 'comments';