Quellcode durchsuchen

disable Google Drive until approved

Artur Paikin vor 6 Jahren
Ursprung
Commit
645246f85a

+ 3 - 3
website/src/examples/dashboard/app.es6

@@ -51,9 +51,9 @@ function uppyInit () {
     browserBackButtonClose: opts.browserBackButtonClose
   })
 
-  if (opts.GoogleDrive) {
-    uppy.use(GoogleDrive, { target: Dashboard, serverUrl: COMPANION })
-  }
+  // if (opts.GoogleDrive) {
+  //   uppy.use(GoogleDrive, { target: Dashboard, serverUrl: COMPANION })
+  // }
 
   if (opts.Dropbox) {
     uppy.use(Dropbox, { target: Dashboard, serverUrl: COMPANION })

+ 3 - 3
website/src/examples/dashboard/app.html

@@ -6,7 +6,7 @@
   <input type="checkbox" id="opts-autoProceed" checked/><label for="opts-autoProceed">Autoproceed</label>
   <input type="checkbox" id="opts-restrictions" checked/><label for="opts-restrictions">Restrictions</label>
   <input type="checkbox" id="opts-Webcam" checked/><label for="opts-Webcam">Webcam</label>
-  <input type="checkbox" id="opts-GoogleDrive" checked/><label for="opts-GoogleDrive">Google Drive</label>
+  <!-- <input type="checkbox" id="opts-GoogleDrive" checked/><label for="opts-GoogleDrive">Google Drive</label> -->
   <input type="checkbox" id="opts-Dropbox" checked/><label for="opts-Dropbox">Dropbox</label>
   <input type="checkbox" id="opts-Instagram" checked/><label for="opts-Instagram">Instagram</label>
   <input type="checkbox" id="opts-Url" checked/><label for="opts-Url">Url</label>
@@ -38,9 +38,9 @@
   var defaultOpts = {
     DashboardInline: true,
     Webcam: true,
-    GoogleDrive: true,
+    GoogleDrive: false,
     Instagram: true,
-    Dropbox: false,
+    Dropbox: true,
     Url: true,
     autoProceed: false,
     restrictions: false,