Added default behaviour for events with no icons - use first two letters from title
This commit is contained in:
parent
842a3fdcca
commit
1d848131a3
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user