aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/angular
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-04-14 22:12:03 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-04-14 22:12:03 +0200
commit2e2bef6f58cd9cefcd437649b20f83a2ca996ec7 (patch)
tree66e96b3ab4f25bdb88507160d2d89a1f125825ff /client/angular
parent1553e15d82b8a1ec4967a90d43b33274f8215c44 (diff)
downloadPeerTube-2e2bef6f58cd9cefcd437649b20f83a2ca996ec7.tar.gz
PeerTube-2e2bef6f58cd9cefcd437649b20f83a2ca996ec7.tar.zst
PeerTube-2e2bef6f58cd9cefcd437649b20f83a2ca996ec7.zip
Fix tslint check
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();