From c9c3bd42d5e0cf0a2b30d020687c5523eeeb3dda Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 7 Apr 2024 17:31:42 +0000 Subject: [PATCH] ui fixes --- Admin/Routes/Web/Api.php | 2 ++ Admin/Routes/Web/Backend.php | 1 + Models/NotificationMapper.php | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Admin/Routes/Web/Api.php b/Admin/Routes/Web/Api.php index 2751955..eaae021 100755 --- a/Admin/Routes/Web/Api.php +++ b/Admin/Routes/Web/Api.php @@ -23,6 +23,7 @@ return [ 'dest' => '\Modules\Notification\Controller\ApiController:apiNotificationSeenCreate', 'verb' => RouteVerb::SET, 'csrf' => true, + 'active' => true, 'permission' => [ 'module' => ApiController::NAME, 'type' => PermissionType::CREATE, @@ -35,6 +36,7 @@ return [ 'dest' => '\Modules\Notification\Controller\ApiController:apiNotificationsGet', 'verb' => RouteVerb::GET, 'csrf' => true, + 'active' => true, 'permission' => [ 'module' => ApiController::NAME, 'type' => PermissionType::READ, diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php index 2d4de9a..5847094 100755 --- a/Admin/Routes/Web/Backend.php +++ b/Admin/Routes/Web/Backend.php @@ -22,6 +22,7 @@ return [ [ 'dest' => '\Modules\Notification\Controller\BackendController:viewNotificationDashboard', 'verb' => RouteVerb::GET, + 'active' => true, 'permission' => [ 'module' => BackendController::NAME, 'type' => PermissionType::READ, diff --git a/Models/NotificationMapper.php b/Models/NotificationMapper.php index 1935ab5..fac1959 100755 --- a/Models/NotificationMapper.php +++ b/Models/NotificationMapper.php @@ -18,7 +18,7 @@ use Modules\Admin\Models\AccountMapper; use phpOMS\DataStorage\Database\Mapper\DataMapperFactory; /** - * Mapper class. + * Notification mapper class. * * @package Modules\Notification\Models * @license OMS License 2.0