feat: Redux-Struktur für LoopChart vereinheitlicht (DIA0–2 + Typ 3/4)
- Alle Schleifen- und Isolationswiderstandsdaten werden zentral in loopChart.data gespeichert - Redux State unterstützt nun strukturierte Speicherung nach mode (DIA0–DIA2) und type (3/4) - Bestehender Thunk fetchLoopChartDataThunk wurde angepasst zur Wiederverwendung - Zugriff aus Komponente via loopData["DIAx"][type] möglich
This commit is contained in:
@@ -10,7 +10,7 @@ const getApiUrl = () => {
|
||||
|
||||
return process.env.NODE_ENV === "development"
|
||||
? `${window.location.origin}/CPLmockData/SERVICE/ae.js`
|
||||
: `${window.location.origin}/CPL/SERVICE/ae.js`;
|
||||
: `${window.location.origin}/CPL?/CPL/SERVICE/ae.js`;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -9,7 +9,7 @@ const getApiUrl = () => {
|
||||
|
||||
return process.env.NODE_ENV === "development"
|
||||
? `${window.location.origin}/CPLmockData/SERVICE/de.js`
|
||||
: `${window.location.origin}/CPL/SERVICE/de.js`;
|
||||
: `${window.location.origin}/CPL?/CPL/SERVICE/de.js`;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user