Merge pull request #18927 from nextcloud/fix/sidebar/fileinfomodel

Fix Sidebar legacy FileInfoModel requirement
This commit is contained in:
John Molakvoæ 2020-01-16 17:12:02 +01:00 committed by GitHub
commit cf771c5816
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,9 @@ class LoadSidebarListener implements IEventListener {
} }
Util::addScript(Application::APP_ID, 'dist/sidebar'); Util::addScript(Application::APP_ID, 'dist/sidebar');
// needed by the Sidebar legacy tabs
// TODO: remove when all tabs migrated to the new api
Util::addScript('files', 'fileinfomodel');
} }
} }