fix: display name would show as undefined sometimes?? idk

This commit is contained in:
Spectralitree 2021-12-31 19:00:23 +01:00
parent 74dcfd4ebc
commit 96557097a8

View File

@ -22,7 +22,7 @@
htmlDescription = "(no description)";
}
let htmlDisplayName: string;
if (group.display_name) htmlDisplayName = toHTML(group.display_name)
$: if (group.display_name) htmlDisplayName = toHTML(group.display_name)
let settings = JSON.parse(localStorage.getItem("pk-settings"));
let descriptionElement: any;