aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dashboard/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-08-04 15:05:16 +0200
committerJulius Härtl <jus@bitgrid.net>2020-08-05 17:03:38 +0200
commit7e2ded5a79b5be853671ba5bad2c84bc623f84a0 (patch)
treea0faffd04921e9d74942ac2353e60dcc2f6fac41 /apps/dashboard/lib
parent3be3c34e39f5066ea0161fa2ca5ede1fa0211f39 (diff)
downloadnextcloud-server-7e2ded5a79b5be853671ba5bad2c84bc623f84a0.tar.gz
nextcloud-server-7e2ded5a79b5be853671ba5bad2c84bc623f84a0.zip
Fix default order of widgets
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/dashboard/lib')
-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 2da01749744..06ce063b0a5 100644
--- a/apps/dashboard/lib/Controller/DashboardController.php
+++ b/apps/dashboard/lib/Controller/DashboardController.php
@@ -78,7 +78,7 @@ class DashboardController extends Controller {
public function index(): TemplateResponse {
$this->eventDispatcher->dispatchTyped(new RegisterPanelEvent($this->dashboardManager));
- $userLayout = explode(',', $this->config->getUserValue($this->userId, 'dashboard', 'layout', 'calendar,recommendations,spreed,mail'));
+ $userLayout = explode(',', $this->config->getUserValue($this->userId, 'dashboard', 'layout', 'recommendations,spreed,mail,calendar'));
$panels = array_map(function (IPanel $panel) {
return [
'id' => $panel->getId(),