Skip to content

Commit

Permalink
Merge pull request #322 from Security-Onion-Solutions/jertel/grid
Browse files Browse the repository at this point in the history
grid page improvements
  • Loading branch information
jertel authored Jan 22, 2024
2 parents 259eaed + 72138bf commit f9c61ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3365,7 +3365,7 @@ <h4 v-if="metricsEnabled">{{ i18n.gridEps }} {{ gridEps | formatCount }}</h4>
<td :class="areMetricsCurrent(item) ? colorContainerStatus(container.Status) + '--text text-left' : 'stale text-left'">
{{ $root.localizeMessage(container.Status) }}
</td>
<td :class="areMetricsCurrent(item) ? 'cyan--text text-left d-none d-lg-table-cell' : 'stale cyan-text-left text-left d-none d-lg-table-cell'">
<td :class="areMetricsCurrent(item) ? 'info--text text-left d-none d-lg-table-cell' : 'stale info-text-left text-left d-none d-lg-table-cell'">
{{ container.Details }}
</td>
</tr>
Expand Down
4 changes: 2 additions & 2 deletions html/js/routes/grid.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit f9c61ea

Please sign in to comment.