From 3c008c5bce2a54b906a44b4a986fea5489e5f6c7 Mon Sep 17 00:00:00 2001 From: josh Date: Sat, 28 Mar 2026 15:13:27 -0400 Subject: [PATCH] fix: show stack badge in history timeline, matching state treatment Co-Authored-By: Claude Sonnet 4.6 --- js/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui.js b/js/ui.js index 672ba3f..95f3a63 100644 --- a/js/ui.js +++ b/js/ui.js @@ -197,7 +197,7 @@ async function renderDetailPage(vmid) { ${fmtDateFull(e.changed_at)} `; const label = FIELD_LABELS[e.field] ?? esc(e.field); - const newCls = e.field === 'state' + const newCls = (e.field === 'state' || e.field === 'stack') ? `badge ${esc(e.new_value)}` : `tl-new ${stateClass(e.field, e.new_value)}`; return `