added translation domain for dashboard widgets (#3909)

This commit is contained in:
Kevin Papst
2023-03-08 19:01:49 +01:00
committed by GitHub
parent 9d503300f6
commit aebd57e311
8 changed files with 53 additions and 439 deletions

View File

@@ -245,6 +245,8 @@ final class DashboardController extends AbstractController
$choices = [];
// the list of widgets for the dropdown is created in the EventListener and not here
// this form is mainly used for saving
foreach ($available as $widget) {
if (empty($widget->getTitle())) {
continue;
@@ -293,7 +295,6 @@ final class DashboardController extends AbstractController
return $this->render('dashboard/grid.html.twig', [
'page_setup' => $page,
'widgets' => $widgets,
'available' => $available,
'form' => $form->createView(),
]);
}