Fix AMS HT label: add info code 1104 variant and re-derive ams_type from stored info when snapshot value is blank.

This commit is contained in:
RNL
2026-06-25 00:18:13 +10:00
parent 0a1da46d1f
commit 7dfa98dcc2
3 changed files with 19 additions and 15 deletions

View File

@@ -157,8 +157,8 @@ def test_dashboard_renders_wide_and_compact_panels(logged_in_client):
)
html = resp.content.decode()
assert "ams-group--wide" in html
assert "ams-group--compact" in html
assert "col-12 ams-group" in html # wide group: col-12 only
assert "col-lg-3 ams-group" in html # compact group: col-lg-3
assert "AMS 2 Pro (Unit 0)" in html
assert "AMS HT (Unit 128)" in html