From d105e2a35897aaa2e135ce04d2aa10a7bdb0f6c4 Mon Sep 17 00:00:00 2001 From: susie-laptop Date: Sun, 30 Mar 2025 22:03:36 -0400 Subject: [PATCH] [dev]filter pending request role --- src/pages/Permissions/components/PendingRequests.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Permissions/components/PendingRequests.jsx b/src/pages/Permissions/components/PendingRequests.jsx index 0aa1214..d271326 100644 --- a/src/pages/Permissions/components/PendingRequests.jsx +++ b/src/pages/Permissions/components/PendingRequests.jsx @@ -337,7 +337,7 @@ export default function PendingRequests() { )}
- {request.status === 'pending' ? ( + {(request.status === 'pending' && request.role === 'approver') ? ( <>