Render entity-type icons in frontend hierarchy

This commit is contained in:
Danny McGee
2024-02-27 14:55:56 -05:00
parent ea8e6678bc
commit 44485c6363
5 changed files with 36 additions and 8 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ export function match<K extends Key, T extends Matcher<K>>(
subject: K | null | undefined,
matcher: T,
): MatchReturn<K, T> {
if (subject && subject in matcher)
if (subject != null && subject in matcher)
return matcher[subject]!();
if ("_" in matcher)