Skip to content

Commit

Permalink
Fix Sidebar legacy FileInfoModel requirement
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Jan 16, 2020
1 parent 5de3ea0 commit 613860e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/files/lib/Listener/LoadSidebarListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ public function handle(Event $event): void {
}

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');
}

}

0 comments on commit 613860e

Please sign in to comment.