|
@@ -10,7 +10,7 @@ import { connect } from '../../base/redux';
|
10
|
10
|
import { escapeRegexp } from '../../base/util';
|
11
|
11
|
import { initUpdateStats, initSearch } from '../actions';
|
12
|
12
|
import { SPEAKER_STATS_RELOAD_INTERVAL } from '../constants';
|
13
|
|
-import { getSpeakerStats } from '../functions';
|
|
13
|
+import { getSpeakerStats, getSearchCriteria } from '../functions';
|
14
|
14
|
|
15
|
15
|
import SpeakerStatsItem from './SpeakerStatsItem';
|
16
|
16
|
import SpeakerStatsLabels from './SpeakerStatsLabels';
|
|
@@ -216,7 +216,8 @@ class SpeakerStats extends Component<Props> {
|
216
|
216
|
* @private
|
217
|
217
|
* @returns {{
|
218
|
218
|
* _localDisplayName: ?string,
|
219
|
|
- * _stats: Object
|
|
219
|
+ * _stats: Object,
|
|
220
|
+ * _criteria: string,
|
220
|
221
|
* }}
|
221
|
222
|
*/
|
222
|
223
|
function _mapStateToProps(state) {
|
|
@@ -230,7 +231,8 @@ function _mapStateToProps(state) {
|
230
|
231
|
* @type {string|undefined}
|
231
|
232
|
*/
|
232
|
233
|
_localDisplayName: localParticipant && localParticipant.name,
|
233
|
|
- _stats: getSpeakerStats(state)
|
|
234
|
+ _stats: getSpeakerStats(state),
|
|
235
|
+ _criteria: getSearchCriteria(state)
|
234
|
236
|
};
|
235
|
237
|
}
|
236
|
238
|
|