Skip to content

Commit

Permalink
fix(settings) fix when devices tab is not visible
Browse files Browse the repository at this point in the history
Fixes: #13461
  • Loading branch information
saghul authored and hristoterezov committed Jul 18, 2023
1 parent e479547 commit b50528a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/features/settings/components/web/SettingsDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function _mapStateToProps(state: IReduxState, ownProps: any) {

return {
...newProps,
selectedVideoInputId: videoTabState.selectedVideoInputId || newProps.selectedVideoInputId,
selectedVideoInputId: videoTabState?.selectedVideoInputId || newProps.selectedVideoInputId,
options: tabState.options
};
},
Expand Down

0 comments on commit b50528a

Please sign in to comment.