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