- <div *ngFor="let videoChannel of videoChannels" class="entry video-channel">
- <a [routerLink]="[ '/video-channels', videoChannel.name ]">
- <img [src]="videoChannel.avatarUrl" alt="Avatar" />
- </a>
-
- <div class="video-channel-info">
- <a [routerLink]="[ '/video-channels', videoChannel.name ]" class="video-channel-names">
- <div class="video-channel-display-name">{{ videoChannel.displayName }}</div>
- <div class="video-channel-name">{{ videoChannel.name }}</div>
+ <ng-container *ngFor="let result of results">
+ <div *ngIf="isVideoChannel(result)" class="entry video-channel">
+ <a [routerLink]="[ '/video-channels', result.nameWithHost ]">
+ <img [src]="result.avatarUrl" alt="Avatar" />