jitsi-meet/react/features/base/sounds/functions.any.ts
theluyuan 38ba663466
Some checks failed
Close stale issues and PRs / stale (push) Has been cancelled
init
2025-09-02 14:49:16 +08:00

12 lines
339 B
TypeScript

import { IReduxState } from '../../app/types';
/**
* Selector for retrieving the disabled sounds array.
*
* @param {Object} state - The Redux state.
* @returns {Array<string>} - The disabled sound id's array.
*/
export function getDisabledSounds(state: IReduxState) {
return state['features/base/config'].disabledSounds || [];
}