File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 151
151
< arc-settings-panel data-route ="settings "> </ arc-settings-panel >
152
152
< about-arc data-route ="about " update-state ="[[updateState]] "> </ about-arc >
153
153
< project-details attr-for-opened ="opened " data-route ="project " project-id ="[[projectRoute.id]] " attr-for-opened ="opened "> </ project-details >
154
- < google-drive-browser data-route ="drive " attr-for-opened ="opened " api-key ="1076318174169-u4a5d3j2v0tbie1jnjgsluqk1ti7ged3.apps.googleusercontent.com " access-token ="[[accessToken]] " on-drive-file-picker-data ="_openDriveRequest "> </ google-drive-browser >
154
+ < google-drive-browser mime-type =" application/restclient+data " data-route ="drive " attr-for-opened ="opened " api-key ="1076318174169-u4a5d3j2v0tbie1jnjgsluqk1ti7ged3.apps.googleusercontent.com " access-token ="[[accessToken]] " on-drive-file-picker-data ="_openDriveRequest "> </ google-drive-browser >
155
155
</ iron-pages >
156
156
</ div >
157
157
</ paper-scroll-header-panel >
267
267
tap : '_handleLinks' ,
268
268
'content-copy' : '_copyContentHandler' ,
269
269
'google-autorize' : '_googleOauthTokenRequested' ,
270
- 'on-process-incoming-data' : '_processIcomingData'
270
+ 'on-process-incoming-data' : '_processIcomingData' ,
271
+ 'pick-google-drive-item' : 'openDrivePicker' ,
272
+ 'open-drive-selector' : 'openDrivePicker'
271
273
} ,
272
274
273
275
observers : [
503
505
} ) ;
504
506
} ,
505
507
508
+ openDrivePicker : function ( ) {
509
+ this . fire ( 'navigate' , {
510
+ base : 'drive'
511
+ } ) ;
512
+ } ,
513
+
506
514
// Pin drawer back to the app.
507
515
_pinDrawer : function ( ) {
508
516
this . forceNarrowLayout = false ;
You can’t perform that action at this time.
0 commit comments