]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix default order of widgets
authorJulius Härtl <jus@bitgrid.net>
Tue, 4 Aug 2020 13:05:16 +0000 (15:05 +0200)
committerJulius Härtl <jus@bitgrid.net>
Wed, 5 Aug 2020 15:03:38 +0000 (17:03 +0200)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
apps/dashboard/lib/Controller/DashboardController.php

index 2da017497441bfe724eb55cca50e97c739de4223..06ce063b0a5c7e8fa7834602633085d829f1b4f2 100644 (file)
@@ -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(),