fix(disableSelfView) Config overwrites settings (#10750)
This commit is contained in:
parent
22ffcf922a
commit
b8778c4e0b
|
@ -125,6 +125,12 @@ function _setConfig({ dispatch, getState }, next, action) {
|
|||
}));
|
||||
}
|
||||
|
||||
if (action.config.disableSelfView !== undefined) {
|
||||
dispatch(updateSettings({
|
||||
disableSelfView: action.config.disableSelfView
|
||||
}));
|
||||
}
|
||||
|
||||
dispatch(updateConfig(config));
|
||||
|
||||
// FIXME On Web we rely on the global 'config' variable which gets altered
|
||||
|
|
Loading…
Reference in New Issue