Skip to content

Commit

Permalink
[front: editLog] no link if deleted item (refact)
Browse files Browse the repository at this point in the history
  • Loading branch information
t8g committed Sep 6, 2017
1 parent 5995b27 commit 0083243
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/app/log-table/log-table.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@

<td>{{ log.date | date:'yyyy-MM-dd HH:mm' }}</td>
<td>
<a [routerLink]="['/', feature, { outlets: { editor: log.item.id } }]" queryParamsHandling="preserve">{{ log.item.name }}</a>
<!-- <span *ngIf="log.action === 'delete'">{{ log.item.name }}</span> -->
<a *ngIf="log.action !== 'delete';else nolink" [routerLink]="['/', feature, { outlets: { editor: log.item.id } }]" queryParamsHandling="preserve">{{ log.item.name }}</a>
<ng-template #nolink>{{ log.item.name }}</ng-template>
</td>
<td [class.bleft]="log._open">{{ 'editLogs.actions.' + log.action | translate }}</td>
<td class="labels" (click)="toggle(log, $event)">
Expand Down

0 comments on commit 0083243

Please sign in to comment.