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 a missing doc string in Toolbox.js; reorder props alphabetically

Radium Zheng9c769a650ea1
diff --git a/react/features/toolbox/components/web/Toolbox.js b/react/features/toolbox/components/web/Toolbox.js
index fe56a62d7b..2225a87110 100644
--- a/react/features/toolbox/components/web/Toolbox.js
+++ b/react/features/toolbox/components/web/Toolbox.js
@@ -132,6 +132,11 @@ type Props = {
*/
_localParticipantID: String,
+ /**
+ * The subsection of Redux state for local recording
+ */
+ _localRecState: Object,
+
/**
* Whether or not the overflow menu is visible.
*/
@@ -152,8 +157,6 @@ type Props = {
*/
_sharingVideo: boolean,
- _localRecState: Object,
-
/**
* Whether or not transcribing is enabled.
*/
@@ -164,7 +167,6 @@ type Props = {
*/
_visible: boolean,
- _localRecState: any,
/**
* Set with the buttons which this Toolbox should display.
@@ -1045,10 +1047,10 @@ function _mapStateToProps(state) {
visible
} = state['features/toolbox'];
const localParticipant = getLocalParticipant(state);
+ const localRecordingStates = state['features/local-recording'];
const localVideo = getLocalVideoTrack(state['features/base/tracks']);
const addPeopleEnabled = isAddPeopleEnabled(state);
const dialOutEnabled = isDialOutEnabled(state);
- const localRecordingStates = state['features/local-recording'];
let desktopSharingDisabledTooltipKey;
@@ -1086,8 +1088,8 @@ function _mapStateToProps(state) {
_isGuest: state['features/base/jwt'].isGuest,
_fullScreen: fullScreen,
_localParticipantID: localParticipant.id,
- _overflowMenuVisible: overflowMenuVisible,
_localRecState: localRecordingStates,
+ _overflowMenuVisible: overflowMenuVisible,
_raisedHand: localParticipant.raisedHand,
_screensharing: localVideo && localVideo.videoType === 'desktop',
_transcribingEnabled: transcribingEnabled,