Fix 'weekly watch reminder' target path
This commit is contained in:
parent
ea1691609b
commit
98126e90b2
2 changed files with 3 additions and 0 deletions
|
@ -80,6 +80,7 @@ export default function Notification(props: Props) {
|
|||
break;
|
||||
case RULE.DAILY_WATCH_AVAILABLE:
|
||||
case RULE.DAILY_WATCH_REMIND:
|
||||
case RULE.WEEKLY_WATCH_REMINDER:
|
||||
case RULE.MISSED_OUT:
|
||||
case RULE.REWARDS_APPROVAL_PROMPT:
|
||||
icon = <Icon icon={ICONS.LBC} sectionIcon />;
|
||||
|
@ -138,6 +139,7 @@ export default function Notification(props: Props) {
|
|||
switch (notification_rule) {
|
||||
case RULE.DAILY_WATCH_AVAILABLE:
|
||||
case RULE.DAILY_WATCH_REMIND:
|
||||
case RULE.WEEKLY_WATCH_REMINDER:
|
||||
return `/$/${PAGES.CHANNELS_FOLLOWING}`;
|
||||
case RULE.MISSED_OUT:
|
||||
case RULE.REWARDS_APPROVAL_PROMPT:
|
||||
|
|
|
@ -7,6 +7,7 @@ export const RULE = {
|
|||
NEW_LIVESTREAM: 'new_livestream',
|
||||
DAILY_WATCH_AVAILABLE: 'daily_watch_available',
|
||||
DAILY_WATCH_REMIND: 'daily_watch_remind',
|
||||
WEEKLY_WATCH_REMINDER: 'weekly_watch_reminder',
|
||||
MISSED_OUT: 'missed_out',
|
||||
REWARDS_APPROVAL_PROMPT: 'rewards_approval_prompt',
|
||||
CREATOR_SUBSCRIBER: 'creator_subscriber',
|
||||
|
|
Loading…
Reference in a new issue