style: also show attr in type

feat/type-attributes
Tomáš Mládek 2023-05-27 23:13:40 +02:00
parent 30cb6ab69c
commit 5d05c9118c
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@
displayLabel = Array.from(new Set(allLabels)).join(" | ");
if (!displayLabel && $entityInfo?.t === "Attribute") {
displayLabel = `${$i18n.t("Attribute")}: ${$entityInfo.c}`;
displayLabel = `${$entityInfo.c}`;
}
displayLabel = displayLabel || address;
}
@ -119,7 +119,7 @@
{#if banner}
<div class="type">
{$entityInfo?.t}
{#if $entityInfo?.t === "Url"}
{#if $entityInfo?.t === "Url" || $entityInfo?.t === "Attribute"}
&mdash; {$entityInfo.c}
{/if}
</div>