diff --git a/react/features/toolbox/functions.any.ts b/react/features/toolbox/functions.any.ts index 1b4e4f38b..949adc73e 100644 --- a/react/features/toolbox/functions.any.ts +++ b/react/features/toolbox/functions.any.ts @@ -24,7 +24,7 @@ export function isAudioMuteButtonDisabled(state: IState) { export function getJwtDisabledButtons(state: IState) { return Object.keys(FEATURES_TO_BUTTONS_MAPPING).reduce((acc: string[], current: string) => { if (!isJwtFeatureEnabled(state, current, true)) { - acc.push(current); + acc.push(FEATURES_TO_BUTTONS_MAPPING[current as keyof typeof FEATURES_TO_BUTTONS_MAPPING]); } return acc;