diff --git a/webui/src/components/Inspect.svelte b/webui/src/components/Inspect.svelte index e3ea2b2..bf56457 100644 --- a/webui/src/components/Inspect.svelte +++ b/webui/src/components/Inspect.svelte @@ -70,7 +70,7 @@ const typeAddresses: string[] = [ await api.getAddress(entityInfo.t), - ...$entity.attr[ATTR_IN].map((e) => e.value.c as string), + ...($entity?.attr[ATTR_IN] || []).map((e) => e.value.c as string), ]; const typeAddressesIn = typeAddresses.map((addr) => `@${addr}`).join(" ");