fix(ui): site-status modal API, honest agent version fallback, Directory default org name

Fresh-install bug report fixes:

- 'Master Site' button error 'app.modal.show is not a function': the
  multi-site status modal used the legacy app.modal.show() signature; the app
  exposes app.modal.open({title, bodyHtml, size}). The site-status request
  itself worked -- only the rendering call was wrong.
- Agents with no discovery yet showed a fake 'v2.0.0' (three hardcoded
  fallbacks). Now 'unknown', so a host whose agent never connected isn't
  presented as an old version.
- The default org name (browser tab title) is set by theta-suite's setup.sh;
  that default is fixed separately there (CFG_ORG -> Theta Directory).
This commit is contained in:
2026-08-09 23:24:54 -07:00
parent f94bb3c14c
commit 96410fd8c4
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -3360,7 +3360,7 @@
html += '</div>';
app.modal.show('Multi-Site & Network Gateway Status', html, [], 'modal-lg');
app.modal.open({ title: 'Multi-Site & Network Gateway Status', bodyHtml: html, size: 'lg' });
} catch (e) {
app.messages.toast('Error fetching site status: ' + e.message, 'danger');
}