Fix build

old-stable24
Varun Patil 2022-10-28 19:36:01 -07:00
parent 4969f6facc
commit 47c344b467
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
Object.assign(
globalThis.OCA.Files,
{ App: { fileList: { filesClient: globalThis.OC.Files.getClient() } } },
{
App: {
fileList: { filesClient: (<any>globalThis.OC.Files).getClient() },
},
},
globalThis.OCA.Files
);
});