mirror of https://github.com/status-im/codimd.git
Update google drive picker to enable setOwnedByMe to show shared files and folders
This commit is contained in:
parent
cd24e75805
commit
99a2cbc604
|
@ -52,6 +52,7 @@
|
||||||
var view = new google.picker.DocsView();
|
var view = new google.picker.DocsView();
|
||||||
view.setMimeTypes("text/markdown,text/html");
|
view.setMimeTypes("text/markdown,text/html");
|
||||||
view.setIncludeFolders(true);
|
view.setIncludeFolders(true);
|
||||||
|
view.setOwnedByMe(true);
|
||||||
this.picker = new google.picker.PickerBuilder().
|
this.picker = new google.picker.PickerBuilder().
|
||||||
enableFeature(google.picker.Feature.NAV_HIDDEN).
|
enableFeature(google.picker.Feature.NAV_HIDDEN).
|
||||||
addView(view).
|
addView(view).
|
||||||
|
|
Loading…
Reference in New Issue