Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

robertpinab91f794488f
diff --git a/react/features/settings/components/web/SettingsDialog.js b/react/features/settings/components/web/SettingsDialog.js
index 5875db559f..921b2a1fd8 100644
--- a/react/features/settings/components/web/SettingsDialog.js
+++ b/react/features/settings/components/web/SettingsDialog.js
@@ -291,7 +291,7 @@ function _mapStateToProps(state, ownProps) {
selectedVideoInputId: tabState.selectedVideoInputId
};
},
- styles: `${classes.settingsDialog} devices-pane`,
+ styles: `settings-pane ${classes.settingsDialog} devices-pane`,
submit: submitDeviceSelectionTab
});
}
@@ -302,7 +302,7 @@ function _mapStateToProps(state, ownProps) {
component: ProfileTab,
label: 'profile.title',
props: getProfileTabProps(state),
- styles: `${classes.settingsDialog} profile-pane`,
+ styles: `settings-pane ${classes.settingsDialog} profile-pane`,
submit: submitProfileTab
});
}
@@ -324,7 +324,7 @@ function _mapStateToProps(state, ownProps) {
startReactionsMuted: tabState?.startReactionsMuted
};
},
- styles: `${classes.settingsDialog} moderator-pane`,
+ styles: `settings-pane ${classes.settingsDialog} moderator-pane`,
submit: submitModeratorTab
});
}
@@ -333,7 +333,7 @@ function _mapStateToProps(state, ownProps) {
tabs.push({
name: SETTINGS_TABS.CALENDAR,
component: CalendarTab,
- label: 'settings.calendar.title',
+ label: 'settings-pane settings.calendar.title',
styles: `${classes.settingsDialog} calendar-pane`
});
}
@@ -344,7 +344,7 @@ function _mapStateToProps(state, ownProps) {
component: SoundsTab,
label: 'settings.sounds',
props: getSoundsTabProps(state),
- styles: `${classes.settingsDialog} profile-pane`,
+ styles: `settings-pane ${classes.settingsDialog} profile-pane`,
submit: submitSoundsTab
});
}
@@ -367,7 +367,7 @@ function _mapStateToProps(state, ownProps) {
enabledNotifications: tabState?.enabledNotifications
};
},
- styles: `${classes.settingsDialog} more-pane`,
+ styles: `settings-pane ${classes.settingsDialog} more-pane`,
submit: submitMoreTab
});
}
diff --git a/react/features/virtual-background/components/VirtualBackgroundPreview.js b/react/features/virtual-background/components/VirtualBackgroundPreview.js
index 93e35a1dcb..817f04c381 100644
--- a/react/features/virtual-background/components/VirtualBackgroundPreview.js
+++ b/react/features/virtual-background/components/VirtualBackgroundPreview.js
@@ -319,7 +319,8 @@ class VirtualBackgroundPreview extends PureComponent<Props, State> {
* @inheritdoc
*/
render() {
- const { classes, jitsiTrack } = this.state;
+ const { jitsiTrack } = this.state;
+ const { classes } = this.props;
return (<div className = { classes.virtualBackgroundPreview }>
{jitsiTrack