Add back blue bar error for editing post after time limit (#6939)

Этот коммит содержится в:
Joram Wilander
2017-07-14 13:12:52 -04:00
коммит произвёл Saturnino Abril
родитель cd5703c027
Коммит 3ad3aa653f

Просмотреть файл

@@ -182,6 +182,13 @@ export function updatePost(post, success) {
(data) => {
if (data && success) {
success();
} else {
const serverError = getState().requests.posts.editPost.error;
AppDispatcher.handleServerAction({
type: ActionTypes.RECEIVED_ERROR,
err: {id: serverError.server_error_id, ...serverError},
method: 'editPost'
});
}
}
);