mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
Use our component instead of atlaskit Implement redesign Add unmount animation Change mount animation from external lib to CSS Remove @atlaskit/flag Remove react-transition-group Add unmount animation on native Remove AbstractNotification
18 lines
521 B
TypeScript
18 lines
521 B
TypeScript
import { IStateful } from '../base/app/types';
|
|
import { toState } from '../base/redux/functions';
|
|
|
|
|
|
/**
|
|
* Tells whether or not the notifications should be displayed within
|
|
* the conference feature based on the current Redux state.
|
|
*
|
|
* @param {Object|Function} stateful - The redux store state.
|
|
* @returns {boolean}
|
|
*/
|
|
export function shouldDisplayNotifications(stateful: IStateful) {
|
|
const state = toState(stateful);
|
|
const { calleeInfoVisible } = state['features/invite'];
|
|
|
|
return !calleeInfoVisible;
|
|
}
|