Browse Source
Merge pull request #14495 from mtsymbarov-del/fix/relation-entity-table
Fixed empty link in direction 'To' type for form name
pull/14512/head
Vladyslav Prykhodko
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
6 additions and
2 deletions
-
ui-ngx/src/app/modules/home/components/relation/relation-table.component.html
|
|
@ -135,9 +135,13 @@ |
|
|
<ng-container *ngIf="direction === directions.TO" matColumnDef="fromName"> |
|
|
<ng-container *ngIf="direction === directions.TO" matColumnDef="fromName"> |
|
|
<mat-header-cell *matHeaderCellDef mat-sort-header style="width: 33%"> {{ 'relation.from-entity-name' | translate }} </mat-header-cell> |
|
|
<mat-header-cell *matHeaderCellDef mat-sort-header style="width: 33%"> {{ 'relation.from-entity-name' | translate }} </mat-header-cell> |
|
|
<mat-cell *matCellDef="let relation"> |
|
|
<mat-cell *matCellDef="let relation"> |
|
|
<a class="link" [routerLink]="relation.entityURL"> |
|
|
@if(relation.entityURL){ |
|
|
|
|
|
<a class="link" [routerLink]="relation.entityURL"> |
|
|
|
|
|
{{ relation.fromName | customTranslate }} |
|
|
|
|
|
</a> |
|
|
|
|
|
} @else { |
|
|
{{ relation.fromName | customTranslate }} |
|
|
{{ relation.fromName | customTranslate }} |
|
|
</a> |
|
|
} |
|
|
</mat-cell> |
|
|
</mat-cell> |
|
|
</ng-container> |
|
|
</ng-container> |
|
|
<ng-container matColumnDef="actions" stickyEnd> |
|
|
<ng-container matColumnDef="actions" stickyEnd> |
|
|
|