Improve agenda

This commit is contained in:
Peter Maquiran
2021-06-24 16:34:27 +01:00
parent 4d80054c95
commit 67e62cce30
4 changed files with 17 additions and 6 deletions
+13
View File
@@ -1309,6 +1309,19 @@ export class AgendaPage implements OnInit {
this.timelineFilterState = segments
}
this.showTimelineFilterState = false;
setTimeout(()=>{
document.querySelectorAll('.EventListBox-container .EventListBox').forEach((e)=>{
if(e.childElementCount == 0) {
e.parentElement.style.display = 'none'
} else {
e.parentElement.style.display = 'block'
}
})
}, 10)
}
}