diff options
Diffstat (limited to 'client/angular')
-rw-r--r-- | client/angular/app/app.component.ts | 5 | ||||
-rw-r--r-- | client/angular/videos/components/list/videos-list.component.html | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/client/angular/app/app.component.ts b/client/angular/app/app.component.ts index da9959836..c04e480a1 100644 --- a/client/angular/app/app.component.ts +++ b/client/angular/app/app.component.ts | |||
@@ -40,10 +40,7 @@ import { AuthStatus } from '../users/models/authStatus'; | |||
40 | templateUrl: 'app/angular/app/app.component.html', | 40 | templateUrl: 'app/angular/app/app.component.html', |
41 | styleUrls: [ 'app/angular/app/app.component.css' ], | 41 | styleUrls: [ 'app/angular/app/app.component.css' ], |
42 | directives: [ ROUTER_DIRECTIVES ], | 42 | directives: [ ROUTER_DIRECTIVES ], |
43 | providers: [ ROUTER_PROVIDERS, HTTP_PROVIDERS, | 43 | providers: [ ROUTER_PROVIDERS, HTTP_PROVIDERS, VideosService, FriendsService, AuthService ] |
44 | ElementRef, VideosService, FriendsService, | ||
45 | AuthService | ||
46 | ] | ||
47 | }) | 44 | }) |
48 | 45 | ||
49 | export class AppComponent { | 46 | export class AppComponent { |
diff --git a/client/angular/videos/components/list/videos-list.component.html b/client/angular/videos/components/list/videos-list.component.html index 9e51675dd..4eeacbc77 100644 --- a/client/angular/videos/components/list/videos-list.component.html +++ b/client/angular/videos/components/list/videos-list.component.html | |||
@@ -1,5 +1,5 @@ | |||
1 | <div *ngIf="videos.length === 0">There is no video.</div> | 1 | <div *ngIf="videos.length === 0">There is no video.</div> |
2 | <div *ngFor="#video of videos" class="video"> | 2 | <div *ngFor="let video of videos" class="video"> |
3 | <div> | 3 | <div> |
4 | <a [routerLink]="['VideosWatch', { id: video.id }]" class="video_name">{{ video.name }}</a> | 4 | <a [routerLink]="['VideosWatch', { id: video.id }]" class="video_name">{{ video.name }}</a> |
5 | <span class="video_pod_url">{{ video.podUrl }}</span> | 5 | <span class="video_pod_url">{{ video.podUrl }}</span> |