|
@@ -9,7 +9,7 @@ import {
|
9
|
9
|
sendAnalytics
|
10
|
10
|
} from '../../../analytics';
|
11
|
11
|
import { translate } from '../../../base/i18n';
|
12
|
|
-import { getLocalParticipant, getParticipantCount, participantUpdated } from '../../../base/participants';
|
|
12
|
+import { getLocalParticipant, participantUpdated } from '../../../base/participants';
|
13
|
13
|
import { connect } from '../../../base/redux';
|
14
|
14
|
import { dockToolbox } from '../../../toolbox/actions.web';
|
15
|
15
|
import { addReactionToBuffer } from '../../actions.any';
|
|
@@ -20,11 +20,6 @@ import ReactionButton from './ReactionButton';
|
20
|
20
|
|
21
|
21
|
type Props = {
|
22
|
22
|
|
23
|
|
- /**
|
24
|
|
- * The number of conference participants.
|
25
|
|
- */
|
26
|
|
- _participantCount: number,
|
27
|
|
-
|
28
|
23
|
/**
|
29
|
24
|
* Used for translation.
|
30
|
25
|
*/
|
|
@@ -182,13 +177,13 @@ class ReactionsMenu extends Component<Props> {
|
182
|
177
|
* @inheritdoc
|
183
|
178
|
*/
|
184
|
179
|
render() {
|
185
|
|
- const { _participantCount, _raisedHand, t, overflowMenu } = this.props;
|
|
180
|
+ const { _raisedHand, t, overflowMenu } = this.props;
|
186
|
181
|
|
187
|
182
|
return (
|
188
|
183
|
<div className = { `reactions-menu ${overflowMenu ? 'overflow' : ''}` }>
|
189
|
|
- { _participantCount > 1 && <div className = 'reactions-row'>
|
|
184
|
+ <div className = 'reactions-row'>
|
190
|
185
|
{ this._getReactionButtons() }
|
191
|
|
- </div> }
|
|
186
|
+ </div>
|
192
|
187
|
<div className = 'raise-hand-row'>
|
193
|
188
|
<ReactionButton
|
194
|
189
|
accessibilityLabel = { t('toolbar.accessibilityLabel.raiseHand') }
|
|
@@ -217,8 +212,7 @@ function mapStateToProps(state) {
|
217
|
212
|
|
218
|
213
|
return {
|
219
|
214
|
_localParticipantID: localParticipant.id,
|
220
|
|
- _raisedHand: localParticipant.raisedHand,
|
221
|
|
- _participantCount: getParticipantCount(state)
|
|
215
|
+ _raisedHand: localParticipant.raisedHand
|
222
|
216
|
};
|
223
|
217
|
}
|
224
|
218
|
|