mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-07-30 02:48:19 +00:00
15 lines
390 B
TypeScript
15 lines
390 B
TypeScript
import { IReduxState } from '../app/types';
|
|
import { isButtonEnabled } from '../toolbox/functions';
|
|
|
|
export * from './functions.any';
|
|
|
|
/**
|
|
* Returns the config whether Go Live button is enabled.
|
|
*
|
|
* @param {Object} state - The state of the app.
|
|
* @returns {boolean}
|
|
*/
|
|
export function isGoLiveButtonEnabled(state: IReduxState): boolean {
|
|
return isButtonEnabled('golive', state);
|
|
}
|