Skip to content

Commit

Permalink
NOJIRA: fixed issue with array comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Sep 5, 2019
1 parent 7993d5e commit 1600466
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<span [translate]="property.items.properties[prop].title">{{ property.items.properties[prop].title }}</span>
</div>
<ng-container *ngFor="let version of property.value">
<div *ngIf="version[i]"
<div *ngIf="version && [i]"
[ngbPopover]="version[i][prop]"
triggers="mouseenter:mouseleave"
container="body"
Expand All @@ -16,7 +16,7 @@
popoverClass="popover-lg popover-info">
{{ version[i][prop] }}
</div>
<div *ngIf="!version[i]" [ngStyle]="{'width': width}">
<div *ngIf="!version || !version[i]" [ngStyle]="{'width': width}">
-
</div>
</ng-container>
Expand Down

0 comments on commit 1600466

Please sign in to comment.