Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a8ea61e

Browse files
author
tabvn.drupal
committed
t
1 parent c9d785c commit a8ea61e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/app/app.component.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {Subject} from "rxjs";
99
styleUrls: ['./app.component.css']
1010
})
1111
export class AppComponent implements OnInit {
12-
title = 'Welcome to Github';
12+
title = 'Welcome to Github Page';
1313

1414

1515
cache = {
@@ -120,13 +120,11 @@ export class AppComponent implements OnInit {
120120
* @returns User
121121
*/
122122
findUserInCache(user: User): User {
123-
124123
for (var i = 0; i < this.cache.selectedUser.length; i++) {
125124
if (this.cache.selectedUser[i].login == user.login) {
126125
return this.cache.selectedUser[i];
127126
}
128127
}
129-
130128
return null;
131129
}
132130
}

0 commit comments

Comments
 (0)