no message
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user