fix: Resolve file list dependency of the sidebar on Nextcloud <= 27
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
8aa3f745ab
commit
ac0ac49321
|
@ -5,6 +5,10 @@ import store from './store.js'
|
|||
|
||||
Vue.mixin({ methods: { t, n } })
|
||||
|
||||
// Make sure that the filesClient is available in the global scope used by the sidebar
|
||||
// FIXME: Can be dropped once Nextcloud 28 is the minimum supported version
|
||||
Object.assign(window.OCA.Files, { App: { fileList: { filesClient: OC.Files.getClient() } } }, window.OCA.Files)
|
||||
|
||||
export default new Vue({
|
||||
el: '#content',
|
||||
store,
|
||||
|
|
Loading…
Reference in New Issue