Refresh available equipments on transaction create

This commit is contained in:
Keannu Bernasol 2024-01-07 11:04:37 +08:00
parent 7a5beed3db
commit c1c092080c

View file

@ -309,6 +309,9 @@ export default function AddTransactionPage() {
queryClient.invalidateQueries({
queryKey: ["equipment_instances"],
});
queryClient.invalidateQueries({
queryKey: ["equipment_instances_available"],
});
queryClient.invalidateQueries({
queryKey: ["transactions"],
});