fix(settings-dialog) Add back CSS classes used by tests

This commit is contained in:
robertpin 2022-03-29 14:14:23 +03:00 committed by Saúl Ibarra Corretgé
parent 26b3eb34f0
commit ab91f79448
2 changed files with 8 additions and 7 deletions

View File

@ -291,7 +291,7 @@ function _mapStateToProps(state, ownProps) {
selectedVideoInputId: tabState.selectedVideoInputId selectedVideoInputId: tabState.selectedVideoInputId
}; };
}, },
styles: `${classes.settingsDialog} devices-pane`, styles: `settings-pane ${classes.settingsDialog} devices-pane`,
submit: submitDeviceSelectionTab submit: submitDeviceSelectionTab
}); });
} }
@ -302,7 +302,7 @@ function _mapStateToProps(state, ownProps) {
component: ProfileTab, component: ProfileTab,
label: 'profile.title', label: 'profile.title',
props: getProfileTabProps(state), props: getProfileTabProps(state),
styles: `${classes.settingsDialog} profile-pane`, styles: `settings-pane ${classes.settingsDialog} profile-pane`,
submit: submitProfileTab submit: submitProfileTab
}); });
} }
@ -324,7 +324,7 @@ function _mapStateToProps(state, ownProps) {
startReactionsMuted: tabState?.startReactionsMuted startReactionsMuted: tabState?.startReactionsMuted
}; };
}, },
styles: `${classes.settingsDialog} moderator-pane`, styles: `settings-pane ${classes.settingsDialog} moderator-pane`,
submit: submitModeratorTab submit: submitModeratorTab
}); });
} }
@ -333,7 +333,7 @@ function _mapStateToProps(state, ownProps) {
tabs.push({ tabs.push({
name: SETTINGS_TABS.CALENDAR, name: SETTINGS_TABS.CALENDAR,
component: CalendarTab, component: CalendarTab,
label: 'settings.calendar.title', label: 'settings-pane settings.calendar.title',
styles: `${classes.settingsDialog} calendar-pane` styles: `${classes.settingsDialog} calendar-pane`
}); });
} }
@ -344,7 +344,7 @@ function _mapStateToProps(state, ownProps) {
component: SoundsTab, component: SoundsTab,
label: 'settings.sounds', label: 'settings.sounds',
props: getSoundsTabProps(state), props: getSoundsTabProps(state),
styles: `${classes.settingsDialog} profile-pane`, styles: `settings-pane ${classes.settingsDialog} profile-pane`,
submit: submitSoundsTab submit: submitSoundsTab
}); });
} }
@ -367,7 +367,7 @@ function _mapStateToProps(state, ownProps) {
enabledNotifications: tabState?.enabledNotifications enabledNotifications: tabState?.enabledNotifications
}; };
}, },
styles: `${classes.settingsDialog} more-pane`, styles: `settings-pane ${classes.settingsDialog} more-pane`,
submit: submitMoreTab submit: submitMoreTab
}); });
} }

View File

@ -319,7 +319,8 @@ class VirtualBackgroundPreview extends PureComponent<Props, State> {
* @inheritdoc * @inheritdoc
*/ */
render() { render() {
const { classes, jitsiTrack } = this.state; const { jitsiTrack } = this.state;
const { classes } = this.props;
return (<div className = { classes.virtualBackgroundPreview }> return (<div className = { classes.virtualBackgroundPreview }>
{jitsiTrack {jitsiTrack