fixed: error message if ics not found

This commit is contained in:
quenousimporte 2023-06-20 09:38:08 +02:00
parent 32859a78f4
commit 16cf7c22ad
1 changed files with 6 additions and 0 deletions

View File

@ -1284,6 +1284,12 @@ function checkevents()
return; return;
} }
if (!data.ics)
{
console.warn("could not retrieve events");
return;
}
var note = getnote("events.json"); var note = getnote("events.json");
if (!note) if (!note)
{ {