Skip to content

Commit

Permalink
Fix code formatting (#4753)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Quandt <[email protected]>
  • Loading branch information
thquad committed Feb 22, 2021
1 parent 0eb152b commit 565c267
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ export class SessionService {
userEndpointsEnabled(): Observable<boolean> {
return this.store.select(selectSessionData()).pipe(
first(),
map(sessionData => sessionData && sessionData.config.UserEndpointsEnabled === UserEndpointsEnabled.ENABLED ? true : false)
map(sessionData => sessionData && sessionData.config.UserEndpointsEnabled === UserEndpointsEnabled.ENABLED)
);
}

userEndpointsNotDisabled(): Observable<boolean> {
return this.store.select(selectSessionData()).pipe(
first(),
map(sessionData => sessionData && sessionData.config.UserEndpointsEnabled !== UserEndpointsEnabled.DISABLED ? true : false)
map(sessionData => sessionData && sessionData.config.UserEndpointsEnabled !== UserEndpointsEnabled.DISABLED)
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ describe('GitRegistrationComponent', () => {
providers: [
{ provide: GITHUB_API_URL, useFactory: getGitHubAPIURL },
GitSCMService,
{
{
provide: CATALOGUE_ENTITIES, useFactory: () => {
const testEntityCatalog = entityCatalog as TestEntityCatalog;
testEntityCatalog.clear();
return [
...generateStratosEntities(),
...gitEntityCatalog.allGitEntities()
];
}, multi: false
}, multi: false
},
{
provide: ActivatedRoute,
Expand Down

0 comments on commit 565c267

Please sign in to comment.