fix: rendering crashes on dash when no system name is set
This commit is contained in:
parent
80a130d9a8
commit
134dbb010a
@ -10,7 +10,9 @@
|
||||
let nameElement: any;
|
||||
let settings = JSON.parse(localStorage.getItem("pk-settings"));
|
||||
|
||||
$: htmlName = toHTML(item.name);
|
||||
$: if (item.name) htmlName = toHTML(item.name);
|
||||
else htmlName = "";
|
||||
|
||||
$: if (settings && settings.appearance.twemoji) {
|
||||
if (nameElement) twemoji.parse(nameElement);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user