aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dashboard/lib/Controller/DashboardController.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dashboard/lib/Controller/DashboardController.php')
-rw-r--r--apps/dashboard/lib/Controller/DashboardController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/dashboard/lib/Controller/DashboardController.php b/apps/dashboard/lib/Controller/DashboardController.php
index 88baa641b45..f79f8b992d1 100644
--- a/apps/dashboard/lib/Controller/DashboardController.php
+++ b/apps/dashboard/lib/Controller/DashboardController.php
@@ -94,6 +94,8 @@ class DashboardController extends Controller {
*/
public function index(): TemplateResponse {
\OCP\Util::addStyle('dashboard', 'dashboard');
+ \OCP\Util::addScript('dashboard', 'main');
+
$this->eventDispatcher->dispatchTyped(new LoadSidebar());
if (class_exists(LoadViewer::class)) {
$this->eventDispatcher->dispatchTyped(new LoadViewer());