Fix default order of widgets

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/21598/head
Julius Härtl 6 years ago
parent 3be3c34e39
commit 7e2ded5a79
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
  1. 2
      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(),

Loading…
Cancel
Save