mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-16 16:47:46 +00:00
* Additional setting to add search to speaker stats * Add translation for speaker stats search placeholder * Unset speaker stats search input autocomplete * Fix lint errors for speaker stats search * Change setting to disableSpeakerStatsSearch * Better Object.prototype.hasOwnProperty.call alternative * Make SpeakerStatsSearch a functional component * Align header with input and use material-ui styles instead of scss and remove SpeakerStats header and fix dialog close * Resolve code style remark in SpeakerStats constructor * Resolve component empty return value remark in SpeakerStatsSearch * Resolve get config property in outside function remark in SpeakerStatsSearch * Resolve unnecessary anonymous function remark in SpeakerStatsSearch
12 lines
334 B
JavaScript
12 lines
334 B
JavaScript
// @flow
|
|
|
|
/**
|
|
* Checks if the speaker stats search is disabled.
|
|
*
|
|
* @param {*} state - The redux state.
|
|
* @returns {boolean} - True if the speaker stats search is disabled and false otherwise.
|
|
*/
|
|
export function isSpeakerStatsSearchDisabled(state: Object) {
|
|
return state['features/base/config']?.disableSpeakerStatsSearch;
|
|
}
|