aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
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
parent1553e15d82b8a1ec4967a90d43b33274f8215c44 (diff)
downloadPeerTube-2e2bef6f58cd9cefcd437649b20f83a2ca996ec7.tar.gz
PeerTube-2e2bef6f58cd9cefcd437649b20f83a2ca996ec7.tar.zst
PeerTube-2e2bef6f58cd9cefcd437649b20f83a2ca996ec7.zip
Fix tslint check
Diffstat (limited to 'client')
-rw-r--r--client/angular/users/components/login/login.component.ts5
-rw-r--r--client/angular/videos/components/list/videos-list.component.ts2
-rw-r--r--client/package.json2
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": {