Skip to content

Commit

Permalink
fix(ui): remove redundant condition
Browse files Browse the repository at this point in the history
Signed-off-by: Kenji Gaillac <kenji@gaillac.eu>
  • Loading branch information
Nhqml authored and AllForNothing committed Oct 24, 2023
1 parent 143d56b commit bef4652
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
[ngStyle]="{
'background-color': labelColor?.color,
color: labelColor?.textColor,
border: labelColor?.color === '#FFFFFF' ? '1px solid #A1A1A1' : 'none'
border:
labelColor?.color === '#FFFFFF' ? '1px solid #A1A1A1' : 'none'
}"
[style.max-width.px]="labelWidth">
<span>
Expand All @@ -20,8 +21,7 @@
</label>
<clr-tooltip-content
[clrPosition]="'right'"
*ngIf="withTooltip && label.description && label.description !== ''"
>
*ngIf="withTooltip && label.description">
<span>{{ label.description }}</span>
</clr-tooltip-content>
</clr-tooltip>

0 comments on commit bef4652

Please sign in to comment.