mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 05:19:05 +01:00
Fix Plottable removed metrics filter
- excluded all plots where bool was not explicitly set
This commit is contained in:
parent
4c708dba3f
commit
c5834e69d3
@ -30,7 +30,8 @@
|
||||
return rows
|
||||
}
|
||||
|
||||
$: rows = tile(items.filter(item => item.disabled === false), itemsPerRow)
|
||||
// Analysis Implements PlotTable: Disable flag can not be present, add to row if not defined explicitly (Helps with systems view also)
|
||||
$: rows = tile(items.filter(item => (item.disabled !== null && item.disabled === false)), itemsPerRow)
|
||||
$: plotWidth = (tableWidth / itemsPerRow) - (padding * itemsPerRow)
|
||||
</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user