aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/angular
diff options
context:
space:
mode:
Diffstat (limited to 'client/angular')
-rw-r--r--client/angular/users/components/login/login.component.ts5
-rw-r--r--client/angular/videos/components/list/videos-list.component.ts2
2 files changed, 3 insertions, 4 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();