We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d4ecea commit d2e3893Copy full SHA for d2e3893
src/reducers/alerts.js
@@ -43,7 +43,8 @@ export default function(state = {}, action) {
43
return Object.assign({}, state, {
44
project: action.payload
45
})
46
- case UPDATE_PROJECT_SUCCESS:
+
47
+ case UPDATE_PROJECT_SUCCESS: {
48
const prevStatus = _.get(state, 'project.status', '')
49
if (action.payload.status === PROJECT_STATUS_IN_REVIEW
50
&& prevStatus && prevStatus !== PROJECT_STATUS_IN_REVIEW) {
@@ -54,6 +55,8 @@ export default function(state = {}, action) {
54
55
56
57
58
+ }
59
60
case REMOVE_PROJECT_MEMBER_SUCCESS:
61
// show notification message if user leaving a project
62
if (action.meta.isUserLeaving) {
0 commit comments