From 97e85d29347e4aee61406d05359999a87f824c7b Mon Sep 17 00:00:00 2001 From: Donkoko Date: Wed, 24 Jul 2024 11:57:01 +0300 Subject: [PATCH] bookings table fixes + adjustments to buggy code --- app/routes/_layout+/bookings.tsx | 2 +- app/utils/roles.server.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routes/_layout+/bookings.tsx b/app/routes/_layout+/bookings.tsx index 81164505b..4cb11ee36 100644 --- a/app/routes/_layout+/bookings.tsx +++ b/app/routes/_layout+/bookings.tsx @@ -274,7 +274,7 @@ const ListAssetContent = ({ <> {/* Item */} -
+
diff --git a/app/utils/roles.server.ts b/app/utils/roles.server.ts index df646b0b9..a5e95d3ee 100644 --- a/app/utils/roles.server.ts +++ b/app/utils/roles.server.ts @@ -89,7 +89,7 @@ export async function requirePermission({ role, isSelfServiceOrBase: role === OrganizationRoles.SELF_SERVICE || - role === OrganizationRoles.ADMIN, + role === OrganizationRoles.BASE, }; }