summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLouis <6653109+artonge@users.noreply.github.com>2022-02-17 13:19:02 +0100
committerGitHub <noreply@github.com>2022-02-17 13:19:02 +0100
commit098dfe15c1e932a2acc8bb4853979040339a3ad7 (patch)
treec218a4a7ff2c7ded05bf472704e999df14cfa2e5 /apps
parent5b6a07dac694b3547878a119ef06071938fb88ef (diff)
parentb50fd97db484e5f106805d11e6ab3c2a2bfb572f (diff)
downloadnextcloud-server-098dfe15c1e932a2acc8bb4853979040339a3ad7.tar.gz
nextcloud-server-098dfe15c1e932a2acc8bb4853979040339a3ad7.zip
Merge pull request #31238 from nextcloud/fix/dashboard_theming
Load scripts of theming app before the dashboard
Diffstat (limited to 'apps')
-rw-r--r--apps/dashboard/lib/Controller/DashboardController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dashboard/lib/Controller/DashboardController.php b/apps/dashboard/lib/Controller/DashboardController.php
index f79f8b992d1..3763b07e7bc 100644
--- a/apps/dashboard/lib/Controller/DashboardController.php
+++ b/apps/dashboard/lib/Controller/DashboardController.php
@@ -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)) {