Rename Metrics to Monitors and move it second
This commit is contained in:
@@ -200,8 +200,9 @@ const panels = ref([])
|
||||
// has since been renamed or removed silently disappears. That is what happened
|
||||
// to tracked services when it moved out of 'actions' - the backend still said
|
||||
// 'actions', this build had no such tab, and the card was simply gone with
|
||||
// nothing logged. Fall back the same way the server does rather than drop it.
|
||||
const RENDERED_GROUPS = ['details', 'software', 'metrics', 'activity']
|
||||
// nothing logged. The same applies to the 'metrics' to 'monitors' rename.
|
||||
// Fall back the same way the server does rather than drop it.
|
||||
const RENDERED_GROUPS = ['details', 'monitors', 'software', 'activity']
|
||||
function groupOf(panel) {
|
||||
return RENDERED_GROUPS.includes(panel.group) ? panel.group : 'details'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user