Browse Source

Update entities-table.component.html

pull/9991/head
Igor Kulikov 3 years ago
committed by GitHub
parent
commit
81ec3d8d14
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      ui-ngx/src/app/modules/home/components/entity/entities-table.component.html

4
ui-ngx/src/app/modules/home/components/entity/entities-table.component.html

@ -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…
Cancel
Save