diff --git a/src/AdminCabinet/Controllers/BaseController.php b/src/AdminCabinet/Controllers/BaseController.php index 6bd2aac49..e1f6a40dc 100644 --- a/src/AdminCabinet/Controllers/BaseController.php +++ b/src/AdminCabinet/Controllers/BaseController.php @@ -139,6 +139,7 @@ protected function prepareView(): void } $this->view->module = $module->toArray(); $this->view->globalModuleUniqueId = $module->uniqid; + $this->view->showModuleStatusToggle = $this->showModuleStatusToggle??true; } } diff --git a/src/AdminCabinet/Views/layouts/main.volt b/src/AdminCabinet/Views/layouts/main.volt index 14acf476c..a1be4724d 100644 --- a/src/AdminCabinet/Views/layouts/main.volt +++ b/src/AdminCabinet/Views/layouts/main.volt @@ -30,7 +30,7 @@ {%set contentClass='grey' %} {% endif %}