From c5834e69d3f5c9d700178d40dda28a9d4e7443f9 Mon Sep 17 00:00:00 2001 From: Christoph Kluge Date: Mon, 19 Jun 2023 09:51:50 +0200 Subject: [PATCH] Fix Plottable removed metrics filter - excluded all plots where bool was not explicitly set --- web/frontend/src/PlotTable.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/frontend/src/PlotTable.svelte b/web/frontend/src/PlotTable.svelte index 573253e..d46eb19 100644 --- a/web/frontend/src/PlotTable.svelte +++ b/web/frontend/src/PlotTable.svelte @@ -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)