mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-01 19:14:11 +01:00
fix: wrong yAxisTicks logged in debug log
This commit is contained in:
@@ -6177,7 +6177,7 @@ function GenerateChartPage(page: NSPanel.PageChart): NSPanel.Payload[] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (Debug) {
|
if (Debug) {
|
||||||
log(`Calculated yAxisTicks for ${id} (Min: ${minValue}, Max: ${maxValue}, Tick: ${tick}): ${page.items[0].yAxisTicks}`);
|
log(`Calculated yAxisTicks for ${id} (Min: ${minValue}, Max: ${maxValue}, Tick: ${tick}): ${yAxisTicks}`);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
yAxisTicks = typeof page.items[0].yAxisTicks === 'string'
|
yAxisTicks = typeof page.items[0].yAxisTicks === 'string'
|
||||||
|
|||||||
Reference in New Issue
Block a user