Fix build

old-stable24^2
Varun Patil 2022-10-28 19:36:01 -07:00
parent 65d8a478e1
commit fd4105e913
1 changed files with 5 additions and 1 deletions

View File

@ -51,7 +51,11 @@ window.addEventListener("DOMContentLoaded", () => {
// register unused client for the sidebar to have access to its parser methods // register unused client for the sidebar to have access to its parser methods
Object.assign( Object.assign(
globalThis.OCA.Files, globalThis.OCA.Files,
{ App: { fileList: { filesClient: globalThis.OC.Files.getClient() } } }, {
App: {
fileList: { filesClient: (<any>globalThis.OC.Files).getClient() },
},
},
globalThis.OCA.Files globalThis.OCA.Files
); );
}); });