edit message failure
This commit is contained in:
parent
81107490cd
commit
c2b2f7f548
|
@ -39,6 +39,12 @@ export default function messages(state = initialState, action) {
|
||||||
message: {},
|
message: {},
|
||||||
editing: false
|
editing: false
|
||||||
};
|
};
|
||||||
|
case types.MESSAGES.EDIT_FAILURE:
|
||||||
|
return {
|
||||||
|
...state,
|
||||||
|
message: {},
|
||||||
|
editing: false
|
||||||
|
};
|
||||||
case types.MESSAGES.PERMALINK_SUCCESS:
|
case types.MESSAGES.PERMALINK_SUCCESS:
|
||||||
return {
|
return {
|
||||||
...state,
|
...state,
|
||||||
|
|
Loading…
Reference in New Issue