Clear href when no calendars selected
This commit is contained in:
parent
79dcef9b7f
commit
845a2d377c
|
@ -63,8 +63,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
icalLink.disabled = false;
|
||||
if (hasAll) {
|
||||
icalLink.href = baseICalUrl;
|
||||
} else if (icalFilter.length == 0) {
|
||||
icalLink.removeAttribute("href");
|
||||
} else {
|
||||
icalFilter.sort();
|
||||
let url = new URL(baseICalUrl);
|
||||
|
|
Loading…
Reference in New Issue