<div class="video-feed">
- <span *ngIf="(syndicationItems | myObjectLength) >= 1" class="icon icon-syndication"
- [popover]="feedsList"
- placement="bottom"
- [outsideClick]="true">
- </span>
+ <span
+ *ngIf="syndicationItems.length !== 0" [ngbPopover]="feedsList" [autoClose]="true" placement="bottom"
+ class="icon icon-syndication" role="button"
+ ></span>
<ng-template #feedsList>
- <div *ngFor="let key of syndicationItems | keys">
- <a [href]="syndicationItems[key]">{{ key }}</a>
- </div>
+ <a *ngFor="let item of syndicationItems" [href]="item.url" target="_blank" rel="noopener noreferrer">{{ item.label }}</a>
</ng-template>
-</div>
-
\ No newline at end of file
+</div>
\ No newline at end of file