Merge pull request #7568 from antobinary/callback-broken
Pass callback for closing of permissions-overlay
This commit is contained in:
commit
66d35a940d
@ -442,7 +442,7 @@ class AudioModal extends Component {
|
||||
|
||||
return (
|
||||
<span>
|
||||
{showPermissionsOvelay ? <PermissionsOverlay /> : null}
|
||||
{showPermissionsOvelay ? <PermissionsOverlay closeModal={closeModal} /> : null}
|
||||
<Modal
|
||||
overlayClassName={styles.overlay}
|
||||
className={styles.modal}
|
||||
|
@ -1,10 +1,12 @@
|
||||
import React from 'react';
|
||||
import { injectIntl, intlShape, defineMessages } from 'react-intl';
|
||||
import Modal from '/imports/ui/components/modal/simple/component';
|
||||
import PropTypes from 'prop-types';
|
||||
import { styles } from './styles';
|
||||
|
||||
const propTypes = {
|
||||
intl: intlShape.isRequired,
|
||||
closeModal: PropTypes.func.isRequired,
|
||||
};
|
||||
|
||||
const intlMessages = defineMessages({
|
||||
|
Loading…
Reference in New Issue
Block a user