Notification: further handle "missed_out" + other tweaks #6052
2 changed files with 5 additions and 0 deletions
|
@ -42,6 +42,9 @@ export default function Notification(props: Props) {
|
|||
case NOTIFICATIONS.DAILY_WATCH_REMIND:
|
||||
notificationTarget = `/$/${PAGES.CHANNELS_FOLLOWING}`;
|
||||
break;
|
||||
case NOTIFICATIONS.MISSED_OUT:
|
||||
notificationTarget = `/$/${PAGES.REWARDS_VERIFY}?redirect=/$/${PAGES.REWARDS}`;
|
||||
break;
|
||||
default:
|
||||
notificationTarget = notification_parameters.device.target;
|
||||
}
|
||||
|
@ -80,6 +83,7 @@ export default function Notification(props: Props) {
|
|||
break;
|
||||
case NOTIFICATIONS.DAILY_WATCH_AVAILABLE:
|
||||
case NOTIFICATIONS.DAILY_WATCH_REMIND:
|
||||
case NOTIFICATIONS.MISSED_OUT:
|
||||
icon = <Icon icon={ICONS.LBC} sectionIcon />;
|
||||
break;
|
||||
default:
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
export const NOTIFICATION_CREATOR_SUBSCRIBER = 'creator_subscriber';
|
||||
export const NOTIFICATION_COMMENT = 'comment';
|
||||
export const NOTIFICATION_REPLY = 'comment-reply';
|
||||
export const MISSED_OUT = 'missed_out';
|
||||
export const DAILY_WATCH_AVAILABLE = 'daily_watch_available';
|
||||
export const DAILY_WATCH_REMIND = 'daily_watch_remind';
|
||||
export const NEW_CONTENT = 'new_content';
|
||||
|
|
Loading…
Add table
Reference in a new issue