Clear uri when clearing publish
This commit is contained in:
parent
c31161c41a
commit
0d2d64aca7
2 changed files with 2 additions and 0 deletions
1
dist/bundle.es.js
vendored
1
dist/bundle.es.js
vendored
|
@ -5960,6 +5960,7 @@ const publishReducer = handleActions({
|
||||||
return _extends$c({}, state, data);
|
return _extends$c({}, state, data);
|
||||||
},
|
},
|
||||||
[CLEAR_PUBLISH]: state => _extends$c({}, defaultState$4, {
|
[CLEAR_PUBLISH]: state => _extends$c({}, defaultState$4, {
|
||||||
|
uri: undefined,
|
||||||
channel: state.channel,
|
channel: state.channel,
|
||||||
bid: state.bid,
|
bid: state.bid,
|
||||||
optimize: state.optimize,
|
optimize: state.optimize,
|
||||||
|
|
|
@ -85,6 +85,7 @@ export const publishReducer = handleActions(
|
||||||
},
|
},
|
||||||
[ACTIONS.CLEAR_PUBLISH]: (state: PublishState): PublishState => ({
|
[ACTIONS.CLEAR_PUBLISH]: (state: PublishState): PublishState => ({
|
||||||
...defaultState,
|
...defaultState,
|
||||||
|
uri: undefined,
|
||||||
channel: state.channel,
|
channel: state.channel,
|
||||||
bid: state.bid,
|
bid: state.bid,
|
||||||
optimize: state.optimize,
|
optimize: state.optimize,
|
||||||
|
|
Loading…
Reference in a new issue