File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import ClickOutside from 'vue-click-outside'
1414import './shared-init.js'
1515import './models/index.js'
1616import { initSessions } from './sessions.js'
17+ import { getClient } from '@nextcloud/files/dav'
1718
1819// the server snap.js conflicts with vertical scrolling so we disable it
1920document . body . setAttribute ( 'data-snap-ignore' , 'true' )
@@ -49,7 +50,7 @@ window.addEventListener('DOMContentLoaded', () => {
4950 window . OCA . Files = { }
5051 }
5152 // register unused client for the sidebar to have access to its parser methods
52- Object . assign ( window . OCA . Files , { App : { fileList : { filesClient : OC . Files . getClient ( ) } } } , window . OCA . Files )
53+ Object . assign ( window . OCA . Files , { App : { fileList : { filesClient : getClient ( ) } } } , window . OCA . Files )
5354} )
5455
5556/* eslint-disable-next-line no-new */
You can’t perform that action at this time.
0 commit comments