fix(disableSelfView) Config overwrites settings (#10750)

This commit is contained in:
Robert Pintilii
2022-01-10 12:46:33 +02:00
committed by GitHub
parent 22ffcf922a
commit b8778c4e0b

View File

@@ -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