There is a bug where the "x Reports Outstanding" token in the "Manage Reported Posts" table is not updating as expected. To resolve this issue, it's necessary to invalidate the RTK Query cache, triggering an update of this token.
Issue Details
Manage Reported Posts Table: The "Manage Reported Posts" table displays the number of reports outstanding, indicating how many reports need attention.
Expected Behavior
The "x Reports Outstanding" token should update in real-time as reports are processed. This ensures that administrators have an accurate and up-to-date view of pending reports.
Additional Context
An outdated token can lead to confusion and a lack of clarity for administrators regarding the number of reports that require attention. Invalidating the RTK Query cache is a necessary step to ensure real-time updates.
Acceptance Criteria
The "x Reports Outstanding" token should be updated in real-time as reports are processed in the "Manage Reported Posts" table.
Implementation Guidelines:
Review the code responsible for fetching and displaying the "x Reports Outstanding" token.
Implement logic to invalidate the RTK Query cache when reports are processed, ensuring that the token updates accordingly.
Description
There is a bug where the "x Reports Outstanding" token in the "Manage Reported Posts" table is not updating as expected. To resolve this issue, it's necessary to invalidate the RTK Query cache, triggering an update of this token.
Issue Details
Expected Behavior
The "x Reports Outstanding" token should update in real-time as reports are processed. This ensures that administrators have an accurate and up-to-date view of pending reports.
Additional Context
An outdated token can lead to confusion and a lack of clarity for administrators regarding the number of reports that require attention. Invalidating the RTK Query cache is a necessary step to ensure real-time updates.
Acceptance Criteria
Implementation Guidelines: