Fix default order of widgets
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
3be3c34e39
commit
7e2ded5a79
|
@ -78,7 +78,7 @@ class DashboardController extends Controller {
|
||||||
public function index(): TemplateResponse {
|
public function index(): TemplateResponse {
|
||||||
$this->eventDispatcher->dispatchTyped(new RegisterPanelEvent($this->dashboardManager));
|
$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) {
|
$panels = array_map(function (IPanel $panel) {
|
||||||
return [
|
return [
|
||||||
'id' => $panel->getId(),
|
'id' => $panel->getId(),
|
||||||
|
|
Loading…
Reference in New Issue