Fix admin panel review findings
- Remove dead admin API functions from webclient/src/api/index.js
  (admin is standalone now, no longer part of webclient)
- Harden esc() in admin/index.html to escape quotes (" / ')
- Add 401 redirect to '/' in admin API requests
- Add TypeError catch for offline/network errors with human message
- Remove redundant Yes/No text in profiles table (toggle switch is enough)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 8ed1261 commit 6d2157096ea40d004f41d166a050ad6694d6e847
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 9 May
Showing 2 changed files
View
admin/index.html
View
webclient/src/api/index.js