Update entities-table.component.html
This commit is contained in:
parent
f77711ec5a
commit
81ec3d8d14
@ -165,8 +165,8 @@
|
|||||||
[matTooltip]="cellTooltip(entity, column, row)"
|
[matTooltip]="cellTooltip(entity, column, row)"
|
||||||
matTooltipPosition="above"
|
matTooltipPosition="above"
|
||||||
[ngStyle]="cellStyle(entity, column, row)">
|
[ngStyle]="cellStyle(entity, column, row)">
|
||||||
<ng-container *ngIf="column.type == 'link' && column.entityURL(entity) as detailsPageURl; else defaultContent">
|
<ng-container *ngIf="column.type == 'link' && column.entityURL(entity) as detailsPageURL; else defaultContent">
|
||||||
<a [routerLink]="detailsPageURl" [innerHTML]="cellContent(entity, column, row)" (click)="$event.stopPropagation();"></a>
|
<a [routerLink]="detailsPageURL" [innerHTML]="cellContent(entity, column, row)" (click)="$event.stopPropagation();"></a>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-template #defaultContent>
|
<ng-template #defaultContent>
|
||||||
<span [innerHTML]="cellContent(entity, column, row)"></span>
|
<span [innerHTML]="cellContent(entity, column, row)"></span>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user