fix(ui): revalidate request list after approving or declining a request (#3283)

Co-authored-by: aaamoeder <aaamoeder@users.noreply.github.com>
This commit is contained in:
Steve Jaspers
2026-07-23 15:14:19 +02:00
committed by GitHub
parent 8ccd0f6245
commit e810b9814d

View File

@@ -333,6 +333,7 @@ const RequestItem = ({ request, revalidateList }: RequestItemProps) => {
try {
await axios.post(`/api/v1/request/${request.id}/${type}`);
revalidate();
revalidateList();
mutate('/api/v1/request/count');
} catch {
addToast(intl.formatMessage(messages.failedmodify), {