Publishing #158
2 changed files with 6 additions and 2 deletions
6
dist/bundle.es.js
vendored
6
dist/bundle.es.js
vendored
|
@ -3836,13 +3836,15 @@ const publishReducer = handleActions({
|
|||
},
|
||||
[CLEAR_PUBLISH]: () => _extends$a({}, defaultState$6),
|
||||
[PUBLISH_START]: state => _extends$a({}, state, {
|
||||
publishing: true
|
||||
publishing: true,
|
||||
publishSuccess: false
|
||||
}),
|
||||
[PUBLISH_FAIL]: state => _extends$a({}, state, {
|
||||
publishing: false
|
||||
}),
|
||||
[PUBLISH_SUCCESS]: state => _extends$a({}, state, {
|
||||
publishing: false
|
||||
publishing: false,
|
||||
publishSuccess: true
|
||||
}),
|
||||
[DO_PREPARE_EDIT]: (state, action) => {
|
||||
const publishData = _objectWithoutProperties(action.data, []);
|
||||
|
|
|
@ -73,6 +73,7 @@ export const publishReducer = handleActions(
|
|||
[ACTIONS.PUBLISH_START]: (state: PublishState): PublishState => ({
|
||||
...state,
|
||||
publishing: true,
|
||||
publishSuccess: false,
|
||||
}),
|
||||
[ACTIONS.PUBLISH_FAIL]: (state: PublishState): PublishState => ({
|
||||
...state,
|
||||
|
@ -81,6 +82,7 @@ export const publishReducer = handleActions(
|
|||
[ACTIONS.PUBLISH_SUCCESS]: (state: PublishState): PublishState => ({
|
||||
...state,
|
||||
publishing: false,
|
||||
publishSuccess: true,
|
||||
}),
|
||||
[ACTIONS.DO_PREPARE_EDIT]: (state: PublishState, action) => {
|
||||
const { ...publishData } = action.data;
|
||||
|
|
Loading…
Add table
Reference in a new issue