no message

This commit is contained in:
2026-06-16 10:54:16 +02:00
parent 7983833831
commit bc50640a6f
4 changed files with 24 additions and 21 deletions
+1 -2
View File
@@ -141,7 +141,7 @@ function render(data){
// Keine Daten
if(data.hasData === false){
elHint.innerHTML = `<b>Letzter Zeitpunkt</b> <span style="opacity:.7">(Keine Werte für diesen Zeitraum)</span>`;
elHint.innerHTML = `<b>${data.noDataHint || 'Keine Werte'}</b> <span style="opacity:.7">(Keine Werte für diesen Zeitraum)</span>`;
elGrid.innerHTML = '';
return;
}
@@ -194,7 +194,6 @@ function render(data){
};
const prod = v.Produktion || 0;
const cons = v.Hausverbrauch || 0;
const grid = v.Netz || 0;
const feed = v.Einspeisung || 0;
const eigen = Math.max(cons - grid, 0);