Saúl Ibarra Corretgé 0f6243ee88 feat(overlays): CallOverlay is not really an overlay
It's not supposed to go on top of everything, like an error would. It's tied to
a conference, so render it outside of the OverlayContainer.
2017-12-12 20:52:29 -06:00

26 lines
642 B
JavaScript

// @flow
/**
* Maps parts of the redux state to {@link Toolbox} (React {@code Component})
* props.
*
* @param {Object} state - The redux state of which parts are to be mapped to
* {@code Conference} props.
* @protected
* @returns {{
* _calleeInfoVisible: boolean
* }}
*/
export function abstractMapStateToProps(state: Object): Object {
return {
/**
* The indication which determines if the {@code CalleeInfo} component
* should be shown or not.
*
* @private
* @type {boolean}
*/
_calleeInfoVisible: state['features/base/jwt'].calleeInfoVisible
};
}