Files
DeepTutor/web/app
evan188199-tech 46199adf51 fix(courses): surface course deletion failure instead of silent redirect (#1754)
The confirm handler fired deleteCourse with void and no .catch, so a
failed delete left an unhandled rejection, gave the learner no feedback,
and still navigated away from the course page. Await the call in a
try/catch: stay on the page with a visible alert (and the dialog open
for retry) on failure, push /courses only on success, and disable the
confirm button while pending.

Co-authored-by: XZH <cto@xzh.ai>
2026-10-07 20:29:00 +08:00
..
2026-09-21 02:30:40 +08:00
2026-09-21 02:30:40 +08:00
2026-09-24 09:59:56 +08:00
2026-09-21 02:30:40 +08:00