jiti-meet/react/features/speaker-stats/functions.js

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;
}