mirror of
https://github.com/Karaka-Management/oms-Dashboard.git
synced 2026-02-13 00:48:41 +00:00
fix dashboard loading / providing still needs to be setup
This commit is contained in:
parent
012e3c0565
commit
03c6de51a0
|
|
@ -6,7 +6,7 @@ use phpOMS\Account\PermissionType;
|
|||
use phpOMS\Router\RouteVerb;
|
||||
|
||||
return [
|
||||
'^(\/\?.*)$' => [
|
||||
'^(\/)(\?.*)*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Dashboard\Controller\BackendController:viewDashboard',
|
||||
'verb' => RouteVerb::GET,
|
||||
|
|
|
|||
|
|
@ -46,9 +46,9 @@ final class BackendController extends Controller
|
|||
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1000301001, $request, $response));
|
||||
|
||||
$view->addData('panels', [
|
||||
$this->app->moduleManager->get('News')->viewDashboard($request, $response, $data),
|
||||
$this->app->moduleManager->get('Tasks')->viewDashboard($request, $response, $data),
|
||||
$this->app->moduleManager->get('Calendar')->viewDashboard($request, $response, $data),
|
||||
//$this->app->moduleManager->get('News')->viewDashboard($request, $response, $data),
|
||||
//$this->app->moduleManager->get('Tasks')->viewDashboard($request, $response, $data),
|
||||
//$this->app->moduleManager->get('Calendar')->viewDashboard($request, $response, $data),
|
||||
]);
|
||||
|
||||
return $view;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user