Added default behaviour for events with no icons - use first two letters from title

This commit is contained in:
Franco Speziali 2022-06-14 18:06:15 +02:00
parent 842a3fdcca
commit 1d848131a3

View File

@ -59,6 +59,8 @@ export default abstract class GroupRenderer {
if (event.icon) {
html.textContent = event.icon;
} else {
html.textContent = event.title.slice(0, 2);
}
return html;