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 e796ae67ccd..2da01749744 100644
--- a/apps/dashboard/lib/Controller/DashboardController.php
+++ b/apps/dashboard/lib/Controller/DashboardController.php
@@ -89,6 +89,8 @@ class DashboardController extends Controller {
}, $this->dashboardManager->getPanels());
$this->inititalStateService->provideInitialState('dashboard', 'panels', $panels);
$this->inititalStateService->provideInitialState('dashboard', 'layout', $userLayout);
+ $this->inititalStateService->provideInitialState('dashboard', 'firstRun', $this->config->getUserValue($this->userId, 'dashboard', 'firstRun', '1') === '1');
+ $this->config->setUserValue($this->userId, 'dashboard', 'firstRun', '0');
if (class_exists(LoadViewer::class)) {
$this->eventDispatcher->dispatchTyped(new LoadViewer());