soiz1 commited on
Commit
b904e1d
·
verified ·
1 Parent(s): 20ff939

Update src/components/tw-security-manager-modal/security-manager-modal.jsx

Browse files
src/components/tw-security-manager-modal/security-manager-modal.jsx CHANGED
@@ -15,6 +15,7 @@ import Notify from './notify.jsx';
15
  import Geolocate from './geolocate.jsx';
16
  import Unsandbox from './unsandbox.jsx';
17
  import Embed from './embed.jsx';
 
18
  import DelayedMountPropertyHOC from './delayed-mount-property-hoc.jsx';
19
  import styles from './security-manager-modal.css';
20
 
@@ -59,6 +60,10 @@ const SecurityManagerModalComponent = props => (
59
  <Unsandbox {...props.data} />
60
  ) : props.type === SecurityModals.Embed ? (
61
  <Embed {...props.data} />
 
 
 
 
62
  ) : null}
63
 
64
  <Box className={styles.buttons}>
@@ -104,4 +109,4 @@ SecurityManagerModalComponent.propTypes = {
104
  const BUTTON_DELAY = 750;
105
  export default DelayedMountPropertyHOC(injectIntl(SecurityManagerModalComponent), BUTTON_DELAY, {
106
  enableButtons: true
107
- });
 
15
  import Geolocate from './geolocate.jsx';
16
  import Unsandbox from './unsandbox.jsx';
17
  import Embed from './embed.jsx';
18
+ import Download from './download.jsx';
19
  import DelayedMountPropertyHOC from './delayed-mount-property-hoc.jsx';
20
  import styles from './security-manager-modal.css';
21
 
 
60
  <Unsandbox {...props.data} />
61
  ) : props.type === SecurityModals.Embed ? (
62
  <Embed {...props.data} />
63
+ ) : props.type === SecurityModals.ScreenshotCamera ? (
64
+ <RecordVideo {...props.data} />
65
+ ) : props.type === SecurityModals.Download ? (
66
+ <Download {...props.data} />
67
  ) : null}
68
 
69
  <Box className={styles.buttons}>
 
109
  const BUTTON_DELAY = 750;
110
  export default DelayedMountPropertyHOC(injectIntl(SecurityManagerModalComponent), BUTTON_DELAY, {
111
  enableButtons: true
112
+ });