feat(charts): add persistent workspace chart management

This commit is contained in:
litoral05
2026-05-27 14:38:25 +01:00
parent d7ef36fc53
commit ffe3c64cfa
23 changed files with 4407 additions and 202 deletions
@@ -34,7 +34,7 @@ export function useAccumulatedHistory(
setLoading(true);
const params = new URLSearchParams({
key: `meteo.${sensorKey}`,
key: sensorKey,
range,
});
+1 -1
View File
@@ -24,7 +24,7 @@ export function useMeteoHistory(sensor: ModuleSensorResponse | null) {
const from = new Date(to.getTime() - hours * 60 * 60 * 1000);
const params = new URLSearchParams({
key: `meteo.${sensorKey}`,
key: sensorKey,
from: from.toISOString(),
to: to.toISOString(),
});