Files
leaudit-platform-frontend/app/routes
TanWenyan cd852ee721 fix(frontend): guard response.error.includes against non-string error values
If the API returns a non-string error (e.g. numeric HTTP status code),
calling .includes() directly on it throws "N.includes is not a function".
Convert to string via JSON.stringify first.

Fixes save button crash on rules/new page.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-25 17:32:21 +08:00
..
2025-06-04 11:18:52 +08:00
2025-06-04 11:45:33 +08:00
2026-01-20 17:29:55 +08:00
2025-12-15 11:04:11 +08:00
2025-12-03 12:07:56 +08:00
2025-11-25 11:02:40 +08:00
2025-12-05 00:04:45 +08:00