Fix Redirect Hosts empty-state flash and implicit-submit save crash

- Redirect Hosts' "Create your first redirect" panel now hides during
  the loading window on refresh, matching Hosted Sites/Proxy Hosts
  instead of staying visible the whole time (or briefly showing the
  wrong empty state when redirects do exist)
- Fix a crash when any dialog (Hosted Site, Proxy Host, User, Password,
  or the shared settings dialog) is submitted implicitly, e.g. by
  pressing Enter in a field instead of clicking the button.
  event.submitter is null in that case, which threw on
  `button.disabled = true` before the save request was ever sent,
  silently dropping the whole save with no visible error. Added a
  resolveSubmitter() fallback that finds the dialog's real submit
  button when event.submitter is null.
- Bump version to 0.11.32
This commit is contained in:
marvin
2026-09-12 21:53:27 -04:00
parent 815769c539
commit 8c3a8c8281
3 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "site-gateway",
"version": "0.11.31",
"version": "0.11.32",
"private": true,
"description": "Site Gateway: simple self-hosted website publishing, reverse proxying, and automatic HTTPS.",
"type": "module",