Skip to content

Commit f06803d

Browse files
committed
fix links for mention type of notifications in phases
1 parent 8ce335e commit f06803d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/routes/notifications/constants/notifications.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,10 @@ export const NOTIFICATIONS = [
364364
rules: [{
365365
text: '<strong>{{userFullName}}</strong> mentioned you in a post',
366366
toUserHandle: true,
367-
goTo: GOTO.POST
367+
goTo: [
368+
{ goTo: GOTO.POST, condition: (contents) => !contents.phaseId },
369+
{ goTo: GOTO.PHASE_POST, condition: (contents) => !!contents.phaseId }
370+
]
368371
}]
369372
},
370373

0 commit comments

Comments
 (0)