fix: Add await to fetchUsers() after bulk delete to properly refresh UI
This commit is contained in:
parent
5c352fcf6f
commit
f791424e3c
|
|
@ -232,7 +232,7 @@ export default function AdminPage() {
|
||||||
description: totalFailed > 0 ? `${totalFailed} fehlgeschlagen` : undefined,
|
description: totalFailed > 0 ? `${totalFailed} fehlgeschlagen` : undefined,
|
||||||
});
|
});
|
||||||
|
|
||||||
fetchUsers();
|
await fetchUsers();
|
||||||
setSelectedContainerIds(new Set());
|
setSelectedContainerIds(new Set());
|
||||||
setDeleteDialogData(null);
|
setDeleteDialogData(null);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user