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:
1 parent
da28b87ae1
commit
0e6897a295
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user