From 4a22b13afaa4f49a98539fc7be2a5d9dbfbb559e Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 5 Mar 2022 17:03:46 +0100 Subject: [PATCH] render fixes, minor bug fixes --- Controller/BackendController.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 64686a9..39461c4 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -66,12 +66,9 @@ final class BackendController extends Controller } $module = $this->app->moduleManager->get($component->getModule()); - - if (!($module instanceof DashboardElementInterface)) { - continue; + if ($module instanceof DashboardElementInterface) { + $panels[] = $module->viewDashboard($request, $response, $data); } - - $panels[] = $module->viewDashboard($request, $response, $data); } $view->addData('panels', $panels);