#16 fix spelling
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 30s
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 30s
This commit is contained in:
@@ -79,10 +79,10 @@
|
|||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
workouts = workouts.filter((workout) => workout.id !== id);
|
workouts = workouts.filter((workout) => workout.id !== id);
|
||||||
} else {
|
} else {
|
||||||
addToast('Failed to fetch workouts: ' + (await response.text()), 'error');
|
addToast('Failed to delete workout: ' + (await response.text()), 'error');
|
||||||
}
|
}
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
addToast('Failed to fetch workouts: ' + error.message, 'error');
|
addToast('Failed to delete workout: ' + error.message, 'error');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user