fix(config) fix check for filmstrip property
The whole object might be undefined.
This commit is contained in:
parent
2d6e181a13
commit
1cd80a33c6
|
@ -74,7 +74,7 @@ function _setConfig({ dispatch, getState }: IStore, next: Function, action: AnyA
|
|||
}));
|
||||
}
|
||||
|
||||
if (action.config.filmstrip.stageFilmstripParticipants !== undefined) {
|
||||
if (action.config.filmstrip?.stageFilmstripParticipants !== undefined) {
|
||||
dispatch(updateSettings({
|
||||
maxStageParticipants: action.config.filmstrip.stageFilmstripParticipants
|
||||
}));
|
||||
|
|
Loading…
Reference in New Issue