Skip to content

Commit

Permalink
Merge pull request #18927 from nextcloud/fix/sidebar/fileinfomodel
Browse files Browse the repository at this point in the history
Fix Sidebar legacy FileInfoModel requirement
  • Loading branch information
skjnldsv committed Jan 16, 2020
2 parents 24d37e9 + 613860e commit cf771c5
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 cf771c5

Please sign in to comment.