DashboardSettings: Don't manually cast url to string

Otherwise, the passed url params won't be decoded correctly
This commit is contained in:
Yonas Habteab 2022-06-03 16:40:14 +02:00
parent e8741c961f
commit 79dd4f37ff

View File

@ -37,7 +37,7 @@ class DashboardSettings implements Tabextension
$url = Url::fromPath(Dashboard::BASE_ROUTE . '/settings')->addParams($this->urlParams); $url = Url::fromPath(Dashboard::BASE_ROUTE . '/settings')->addParams($this->urlParams);
$tabs->add('dashboard_settings', [ $tabs->add('dashboard_settings', [
'icon' => 'service', 'icon' => 'service',
'url' => (string) $url, 'url' => $url,
]); ]);
} }
} }