[F.END] aggiunto messaggio per assenza appuntamenti

This commit is contained in:
giomba 2019-09-03 15:14:09 +02:00
parent e27b33ce8e
commit 5e391b9efa
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,10 @@ function zerocalcareDisplay() {
var json_obj = JSON.parse(xhr.responseText);
if (json_obj.length == 0) {
zerocalcareOutput.childNodes[0].textContent = 'Nessun appuntamento in programma';
}
for (i in json_obj) {
// Future improvements needed for a better backend output date in ISO format
// Now we have to parse the string :( very very ugly