style: also show attr in type
parent
30cb6ab69c
commit
5d05c9118c
|
@ -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"}
|
||||
— {$entityInfo.c}
|
||||
{/if}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue