replace 3 seperate labels with one AddressLabelsComponent.label?: string

+ consistency: move comments in the `if` blocks
This commit is contained in:
Antoni Spaanderman
2022-03-29 15:47:48 +02:00
parent a5db6a0d36
commit e95b3885ee
2 changed files with 18 additions and 38 deletions

View File

@@ -1,17 +1,5 @@
<span
*ngIf="multisig"
*ngIf="label"
class="badge badge-pill badge-warning"
i18n="address-labels.multisig"
>multisig {{ multisigM }} of {{ multisigN }}</span>
<span
*ngIf="lightning"
class="badge badge-pill badge-warning"
i18n="address-labels.upper-layer-peg-out"
>Lightning {{ lightning }}</span>
<span
*ngIf="liquid"
class="badge badge-pill badge-warning"
i18n="address-labels.upper-layer-peg-out"
>Liquid {{ liquid }}</span>
>{{ label }}</span>