Skip to content

Commit

Permalink
Task #58311: lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
christyfernandes committed May 21, 2022
1 parent 081c7b2 commit fce7f60
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ export class AuthKeycloakService {
storage.removeItem('telemetrySessionId')
}
try {
sessionStorage.clear();
localStorage.clear();
sessionStorage.clear()
localStorage.clear()
} catch {

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class NetworkV2Service {

fetchProfile(userId: string) {
return this.http.get<NSNetworkDataV2.IProfile>(`${API_ENDPOINTS.getUserdetailsV2FromRegistry}/${userId}`)
.pipe(map((res) => {
.pipe(map(res => {
// const roles = _.map(_.get(res, 'result.response.roles'), 'role')
// _.set(res, 'result.response.roles', roles)
return res
Expand Down
2 changes: 1 addition & 1 deletion src/app/component/root/root.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export class RootComponent implements OnInit, AfterViewInit {
}
@HostListener('window:unload', ['$event'])
unloadHandler(event: any) {
if (event && event.type==='unload') {
if (event && event.type === 'unload') {
// this.authSvc.logout()
}
}
Expand Down

0 comments on commit fce7f60

Please sign in to comment.