bugfix: hide heaters, temperature_fans and temperature_sensors with _ as first letter in the name in tempchart

Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
Stefan Dej committed 2021-08-15 19:30:37 +02:00
1 parent da28b87ae1
commit 0e6897a295
1 file changed
+1 -1
+1 -1
View File
@@ -58,7 +58,7 @@ export const actions: ActionTree<PrinterTempHistoryState, RootState> = {
commit('setInitSource', tempDataset)
const tempDatasetKeys = Object.keys(tempDataset[0]).filter((tmp) => tmp !== "date")
const masterDatasetKeys = tempDatasetKeys.filter((tmp) => !tmp.includes('-')).sort()
const masterDatasetKeys = tempDatasetKeys.filter((tmp) => !tmp.includes('-') && !tmp.startsWith('_')).sort()
const series: PrinterTempHistoryStateSerie[] = []
let colorNumber = 0