We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2108cd commit 146566cCopy full SHA for 146566c
src/tiles/tile-group.component.ts
@@ -21,8 +21,8 @@ import { takeUntil } from "rxjs/operators";
21
template: `
22
<fieldset>
23
<legend *ngIf="legend" class="bx--label">
24
- <ng-container *ngIf="!isTemplate(legend)">{{legend}}</ng-container>
25
- <ng-template *ngIf="isTemplate(legend)" [ngTemplateOutlet]="legend"></ng-template>
+ <ng-template *ngIf="isTemplate(legend); else legendLabel;" [ngTemplateOutlet]="legend"></ng-template>
+ <ng-template #legendLabel>{{legend}}</ng-template>
26
</legend>
27
<ng-content select="ibm-selection-tile"></ng-content>
28
</fieldset>`,
0 commit comments