Skip to content

Commit 0520782

Browse files
committed
issue #1985 - added missed goto for notifications
1 parent 105b38f commit 0520782

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/routes/notifications/constants/notifications.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ export const NOTIFICATIONS = [
140140
text: '<strong>{{userHandle}}</strong> left a project',
141141
shouldBundle: true,
142142
bundledText: '{{bundledCount}} team members left your project',
143-
projectRoles: [PROJECT_ROLE_MANAGER]
143+
projectRoles: [PROJECT_ROLE_MANAGER],
144+
goTo: GOTO.PROJECT_DASHBOARD
144145
}]
145146
}, {
146147
version: 2,
@@ -150,7 +151,8 @@ export const NOTIFICATIONS = [
150151
text: '<strong>{{userFullName}}</strong> left a project',
151152
shouldBundle: true,
152153
bundledText: '{{bundledCount}} team members left your project',
153-
projectRoles: [PROJECT_ROLE_MANAGER]
154+
projectRoles: [PROJECT_ROLE_MANAGER],
155+
goTo: GOTO.PROJECT_DASHBOARD
154156
}]
155157
},
156158

@@ -161,7 +163,8 @@ export const NOTIFICATIONS = [
161163
text: '<strong>{{userHandle}}</strong> was removed from project',
162164
shouldBundle: true,
163165
bundledText: '{{bundledCount}} team members were removed from your project',
164-
projectRoles: [PROJECT_ROLE_MANAGER]
166+
projectRoles: [PROJECT_ROLE_MANAGER],
167+
goTo: GOTO.PROJECT_DASHBOARD
165168
}, {
166169
text: 'You were removed from a project',
167170
toUserHandle: true
@@ -174,7 +177,8 @@ export const NOTIFICATIONS = [
174177
text: '<strong>{{userFullName}}</strong> was removed from project',
175178
shouldBundle: true,
176179
bundledText: '{{bundledCount}} team members were removed from your project',
177-
projectRoles: [PROJECT_ROLE_MANAGER]
180+
projectRoles: [PROJECT_ROLE_MANAGER],
181+
goTo: GOTO.PROJECT_DASHBOARD
178182
}, {
179183
text: 'You were removed from a project',
180184
toUserHandle: true

0 commit comments

Comments
 (0)