disable Google Drive until approved

This commit is contained in:
Artur Paikin 2019-02-05 19:05:32 +03:00
parent 407b4bc54c
commit 645246f85a
2 changed files with 6 additions and 6 deletions

View file

@ -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 })

View file

@ -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,