Skip to content
Snippets Groups Projects
Commit 8c107bcb authored by Toni Beier's avatar Toni Beier
Browse files

ActionBar can access to has language state

parent f8744e4d
No related branches found
No related tags found
1 merge request!30Übersetzung-UI ist sichtbar, wenn Sprachen verfügbar sind
......@@ -235,6 +235,7 @@ class ActionsBar extends PureComponent {
hasBreakouts,
isTranslatorTalking,
isTranslatorMuted,
hasLanguages,
} = this.props;
const amIAsTranslatorMuted = isTranslatorMuted();
......
......@@ -52,4 +52,5 @@ export default withTracker(() => ({
hasBreakouts: Service.hasBreakouts,
isTranslatorTalking: Service.isTranslatorTalking(),
isTranslatorMuted: Service.isTranslatorMuted,
hasLanguages: Service.hasLanguages(),
}))(injectIntl(ActionsBarContainer));
......@@ -72,4 +72,5 @@ export default {
muteMicrophone,
isTranslatorTalking,
isTranslatorMuted: () => AudioManager.isTranslatorMuted(),
hasLanguages: () => Meeting.hasLanguages(),
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment