mirror of
https://github.com/Karaka-Management/oms-Dashboard.git
synced 2026-02-14 01:18:41 +00:00
render fixes, minor bug fixes
This commit is contained in:
parent
b037b7efdf
commit
4a22b13afa
|
|
@ -66,12 +66,9 @@ final class BackendController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
$module = $this->app->moduleManager->get($component->getModule());
|
$module = $this->app->moduleManager->get($component->getModule());
|
||||||
|
if ($module instanceof DashboardElementInterface) {
|
||||||
if (!($module instanceof DashboardElementInterface)) {
|
$panels[] = $module->viewDashboard($request, $response, $data);
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$panels[] = $module->viewDashboard($request, $response, $data);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$view->addData('panels', $panels);
|
$view->addData('panels', $panels);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user