workaround trail delete wait for index

This commit is contained in:
Christian Beutel
2025-02-11 19:32:34 +01:00
parent 32f334d15d
commit 4008038729

View File

@@ -170,7 +170,10 @@
}
async function deleteTrail() {
trails_delete(trail).then(() => goto('/trails'));
await trails_delete(trail);
setTimeout(() => {
goto("/trails");
}, 500);
}
async function handleListSelection(list: List) {