mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Load scripts of theming app before the dashboard
This allows dashboard to access OCA.Theming Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
parent
926bfd5e46
commit
b50fd97db4
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ class DashboardController extends Controller {
|
|||
*/
|
||||
public function index(): TemplateResponse {
|
||||
\OCP\Util::addStyle('dashboard', 'dashboard');
|
||||
\OCP\Util::addScript('dashboard', 'main');
|
||||
\OCP\Util::addScript('dashboard', 'main', 'theming');
|
||||
|
||||
$this->eventDispatcher->dispatchTyped(new LoadSidebar());
|
||||
if (class_exists(LoadViewer::class)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue