Lib: Fix deleting from wrong collection in RaceCard
This commit is contained in:
@ -139,7 +139,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await pb.collection("raceresults").delete(race.id);
|
await pb.collection("races").delete(race.id);
|
||||||
invalidateAll();
|
invalidateAll();
|
||||||
modalStore.close();
|
modalStore.close();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
Reference in New Issue
Block a user