mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-28 08:58:07 +00:00
Render entity-type icons in frontend hierarchy
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user