您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

functions.any.ts 521B

1234567891011121314151617
  1. import { IStateful } from '../base/app/types';
  2. import { toState } from '../base/redux/functions';
  3. /**
  4. * Tells whether or not the notifications should be displayed within
  5. * the conference feature based on the current Redux state.
  6. *
  7. * @param {Object|Function} stateful - The redux store state.
  8. * @returns {boolean}
  9. */
  10. export function shouldDisplayNotifications(stateful: IStateful) {
  11. const state = toState(stateful);
  12. const { calleeInfoVisible } = state['features/invite'];
  13. return !calleeInfoVisible;
  14. }