From 72138bfcf064e6a90768e54859600917a0df84f9 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Mon, 22 Jan 2024 09:03:32 -0500 Subject: [PATCH] grid page improvements --- html/index.html | 2 +- html/js/routes/grid.test.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/html/index.html b/html/index.html index 80ce068e4..c6c8dcd77 100644 --- a/html/index.html +++ b/html/index.html @@ -3365,7 +3365,7 @@

{{ i18n.gridEps }} {{ gridEps | formatCount }}

{{ $root.localizeMessage(container.Status) }} - + {{ container.Details }} diff --git a/html/js/routes/grid.test.js b/html/js/routes/grid.test.js index 02a31f194..fcac5de12 100644 --- a/html/js/routes/grid.test.js +++ b/html/js/routes/grid.test.js @@ -72,8 +72,8 @@ test('colorNodeStatus', () => { expect(comp.colorNodeStatus("pending")).toBe("warning"); expect(comp.colorNodeStatus("pending", true)).toBe("warning"); expect(comp.colorNodeStatus("unknown", true)).toBe("warning"); - expect(comp.colorNodeStatus("restart", false)).toBe("info"); - expect(comp.colorNodeStatus("restart", true)).toBe("info"); + expect(comp.colorNodeStatus("restart", false)).toBe("warning"); + expect(comp.colorNodeStatus("restart", true)).toBe("warning"); }); test('formatLinearColor', () => {