]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/angular/videos/components/list/videos-list.component.html
Change api output for videos
[github/Chocobozzz/PeerTube.git] / client / angular / videos / components / list / videos-list.component.html
index 7ecdacee47c817fd86e3184389d06ddb5df00bcd..38708aff613c0db8f4958ebbe53488d17d9a5bd1 100644 (file)
@@ -1,8 +1,8 @@
 <div *ngFor="#video of videos" class="video">
   <div>
-    <a [routerLink]="['VideosWatch', { id: video._id }]" class="video_name">{{ video.name }}</a>
+    <a [routerLink]="['VideosWatch', { id: video.id }]" class="video_name">{{ video.name }}</a>
     <span class="video_pod_url">{{ video.podUrl }}</span>
-    <span *ngIf="video.namePath !== null" (click)="removeVideo(video._id)" class="video_remove glyphicon glyphicon-remove"></span>
+    <span *ngIf="video.isLocal === true" (click)="removeVideo(video.id)" class="video_remove glyphicon glyphicon-remove"></span>
   </div>
 
   <div class="video_description">