mirror of
https://github.com/Funkoala14/KnowledgeBase_OOIN.git
synced 2025-06-08 07:28:13 +08:00
Merge pull request #4 from Funkoala14/dev
[dev]filter pending request role
This commit is contained in:
commit
3ba48fdd3e
@ -337,7 +337,7 @@ export default function PendingRequests() {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className='request-actions'>
|
<div className='request-actions'>
|
||||||
{request.status === 'pending' ? (
|
{(request.status === 'pending' && request.role === 'approver') ? (
|
||||||
<>
|
<>
|
||||||
<button
|
<button
|
||||||
className='btn btn-outline-danger btn-sm'
|
className='btn btn-outline-danger btn-sm'
|
||||||
|
Loading…
Reference in New Issue
Block a user