diff options
author | Louis Chemineau <louis@chmn.me> | 2022-02-17 11:57:34 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-02-17 11:57:34 +0100 |
commit | b50fd97db484e5f106805d11e6ab3c2a2bfb572f (patch) | |
tree | fee10d2b56acbe1f02e7db7b53a66b97048bb5ba /apps | |
parent | 926bfd5e46e64720c94b610ed833c79f73cf08df (diff) | |
download | nextcloud-server-b50fd97db484e5f106805d11e6ab3c2a2bfb572f.tar.gz nextcloud-server-b50fd97db484e5f106805d11e6ab3c2a2bfb572f.zip |
Load scripts of theming app before the dashboard
This allows dashboard to access OCA.Theming
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dashboard/lib/Controller/DashboardController.php | 2 |
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)) { |