generated from RealDevSquad/website-template
-
Notifications
You must be signed in to change notification settings - Fork 164
Closed
Description
Issue Description
When a non-super user clicks the "Accept" or "Reject" button on a requests, the error message displayed is incorrect. Additionally, while the error is correctly shown via a toast notification, all request cards disappear from the page. Instead of this behavior, the request cards should remain unchanged, and only the toast notification should display the error message.
Expected Behavior
If a non-super user attempts to accept or reject a request:
- An appropriate error message should be displayed via toast notification only.
- The request cards should remain visible and unchanged.
Current Behavior
- An incorrect error message is displayed.
- The error is shown via toast notification (this is correct).
- All request cards disappear from the page when the error occurs.
Screenshots
Reproducibility
- This issue is reproducible
- This issue is not reproducible
Steps to Reproduce
- Navigate to this Page
- If you are not a super user try to click on accept or reject button
- you can notice the error
Severity/Priority
- Critical
- High
- Medium
- Low
Additional Information
Checklist
- I have read and followed the project's code of conduct.
- I have searched for similar issues before creating this one.
- I have provided all the necessary information to understand and reproduce the issue.
- I am willing to contribute to the resolution of this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
