diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/angular/users/components/login/login.component.ts | 5 | ||||
-rw-r--r-- | client/angular/videos/components/list/videos-list.component.ts | 2 | ||||
-rw-r--r-- | client/package.json | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/client/angular/users/components/login/login.component.ts b/client/angular/users/components/login/login.component.ts index 35dea4f9b..cecf5d2fd 100644 --- a/client/angular/users/components/login/login.component.ts +++ b/client/angular/users/components/login/login.component.ts | |||
@@ -27,9 +27,8 @@ export class UserLoginComponent { | |||
27 | error => { | 27 | error => { |
28 | if (error.error === 'invalid_grant') { | 28 | if (error.error === 'invalid_grant') { |
29 | alert('Credentials are invalid.'); | 29 | alert('Credentials are invalid.'); |
30 | } | 30 | } else { |
31 | else { | 31 | alert(`${error.error}: ${error.error_description}`); |
32 | alert(`${error.error}: ${error.error_description}`) | ||
33 | } | 32 | } |
34 | } | 33 | } |
35 | ); | 34 | ); |
diff --git a/client/angular/videos/components/list/videos-list.component.ts b/client/angular/videos/components/list/videos-list.component.ts index b9b440d40..425d2dcfc 100644 --- a/client/angular/videos/components/list/videos-list.component.ts +++ b/client/angular/videos/components/list/videos-list.component.ts | |||
@@ -38,7 +38,7 @@ export class VideosListComponent implements OnInit { | |||
38 | getVideos() { | 38 | getVideos() { |
39 | let observable = null; | 39 | let observable = null; |
40 | 40 | ||
41 | if (this.search !== null) {"" | 41 | if (this.search !== null) { |
42 | observable = this._videosService.searchVideos(this.search); | 42 | observable = this._videosService.searchVideos(this.search); |
43 | } else { | 43 | } else { |
44 | observable = this._videosService.getVideos(); | 44 | observable = this._videosService.getVideos(); |
diff --git a/client/package.json b/client/package.json index 1d1fde71b..8070881f5 100644 --- a/client/package.json +++ b/client/package.json | |||
@@ -17,7 +17,7 @@ | |||
17 | "tsc:w": "tsc -w", | 17 | "tsc:w": "tsc -w", |
18 | "typings": "typings", | 18 | "typings": "typings", |
19 | "postinstall": "typings install", | 19 | "postinstall": "typings install", |
20 | "test": "tslint -c ./tslint.json angular/**/*.ts angular/**/**/*.ts" | 20 | "test": "tslint -c ./tslint.json angular/**/*.ts angular/**/**/*.ts angular/**/**/**/*.ts" |
21 | }, | 21 | }, |
22 | "license": "ISC", | 22 | "license": "ISC", |
23 | "dependencies": { | 23 | "dependencies": { |