You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

functions.js 642B

12345678910111213141516171819202122232425
  1. // @flow
  2. /**
  3. * Maps parts of the redux state to {@link Toolbox} (React {@code Component})
  4. * props.
  5. *
  6. * @param {Object} state - The redux state of which parts are to be mapped to
  7. * {@code Conference} props.
  8. * @protected
  9. * @returns {{
  10. * _calleeInfoVisible: boolean
  11. * }}
  12. */
  13. export function abstractMapStateToProps(state: Object): Object {
  14. return {
  15. /**
  16. * The indication which determines if the {@code CalleeInfo} component
  17. * should be shown or not.
  18. *
  19. * @private
  20. * @type {boolean}
  21. */
  22. _calleeInfoVisible: state['features/base/jwt'].calleeInfoVisible
  23. };
  24. }