soiz1 commited on
Commit
1ab12cc
·
verified ·
1 Parent(s): a703c99

Update src/components/gui/gui.jsx

Browse files
Files changed (1) hide show
  1. src/components/gui/gui.jsx +4 -0
src/components/gui/gui.jsx CHANGED
@@ -161,6 +161,7 @@ const GUIComponent = props => {
161
  onShare,
162
  onShowPrivacyPolicy,
163
  onStartSelectingFileUpload,
 
164
  onTelemetryModalCancel,
165
  onTelemetryModalOptIn,
166
  onTelemetryModalOptOut,
@@ -477,6 +478,7 @@ const GUIComponent = props => {
477
  canShare={canShare}
478
  className={styles.menuBarPosition}
479
  enableCommunity={enableCommunity}
 
480
  isShared={isShared}
481
  logo={logo}
482
  renderLogin={renderLogin}
@@ -495,6 +497,7 @@ const GUIComponent = props => {
495
  onSeeCommunity={onSeeCommunity}
496
  onShare={onShare}
497
  onStartSelectingFileUpload={onStartSelectingFileUpload}
 
498
  onToggleLoginOpen={onToggleLoginOpen}
499
  />
500
  ) : null}
@@ -728,6 +731,7 @@ GUIComponent.propTypes = {
728
  onShare: PropTypes.func,
729
  onShowPrivacyPolicy: PropTypes.func,
730
  onStartSelectingFileUpload: PropTypes.func,
 
731
  onTabSelect: PropTypes.func,
732
  onTelemetryModalCancel: PropTypes.func,
733
  onTelemetryModalOptIn: PropTypes.func,
 
161
  onShare,
162
  onShowPrivacyPolicy,
163
  onStartSelectingFileUpload,
164
+ onStartFolderUpload,
165
  onTelemetryModalCancel,
166
  onTelemetryModalOptIn,
167
  onTelemetryModalOptOut,
 
478
  canShare={canShare}
479
  className={styles.menuBarPosition}
480
  enableCommunity={enableCommunity}
481
+ isDirectoryPickerSupported={!!window.showDirectoryPicker}
482
  isShared={isShared}
483
  logo={logo}
484
  renderLogin={renderLogin}
 
497
  onSeeCommunity={onSeeCommunity}
498
  onShare={onShare}
499
  onStartSelectingFileUpload={onStartSelectingFileUpload}
500
+ onStartFolderUpload={onStartFolderUpload}
501
  onToggleLoginOpen={onToggleLoginOpen}
502
  />
503
  ) : null}
 
731
  onShare: PropTypes.func,
732
  onShowPrivacyPolicy: PropTypes.func,
733
  onStartSelectingFileUpload: PropTypes.func,
734
+ onStartFolderUpload: PropTypes.func,
735
  onTabSelect: PropTypes.func,
736
  onTelemetryModalCancel: PropTypes.func,
737
  onTelemetryModalOptIn: PropTypes.func,