[Library | explore-redesign]: availableOn.component.ts: [Bug fix] Added check if availableOn.length > 0.
This commit is contained in:
parent
1ca647f56e
commit
10ea930d8a
|
@ -8,7 +8,7 @@ declare var UIkit;
|
|||
@Component({
|
||||
selector: 'availableOn',
|
||||
template: `
|
||||
<ng-container *ngIf="availableOn">
|
||||
<ng-container *ngIf="availableOn && availableOn.length > 0">
|
||||
<div class="uk-flex uk-flex-middle">
|
||||
<ng-container *ngIf="availableOn[0].downloadUrl">
|
||||
<span *ngIf="source" class="uk-margin-xsmall-right">Source: </span>
|
||||
|
|
Loading…
Reference in New Issue