From e426e455df185d2c566a33f9b5b0ed8616a4e28d Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Fri, 8 May 2020 14:29:10 +1000 Subject: [PATCH] fix local configs --- src/app/authorisation.service.ts | 2 +- src/app/computesites.service.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/authorisation.service.ts b/src/app/authorisation.service.ts index ffa9f2c..fc84157 100644 --- a/src/app/authorisation.service.ts +++ b/src/app/authorisation.service.ts @@ -129,7 +129,7 @@ export class AuthorisationService { var server: SshAuthzServer; auths = <SshAuthzServer[]>resp; try { - localauths = JSON.parse(localStorage.getItem('localcomputesites')) + localauths = JSON.parse(localStorage.getItem('localauthservers')) } catch { localauths = [] } diff --git a/src/app/computesites.service.ts b/src/app/computesites.service.ts index c8a7895..2a1e995 100644 --- a/src/app/computesites.service.ts +++ b/src/app/computesites.service.ts @@ -82,9 +82,8 @@ export class ComputesitesService { private getStrudelAppsCmd(identity: Identity): Observable<Strudelapp[]> { if (identity.site.appCatalogCmd != null) { - console.log('requesting apps from',identity.site.name,Date.now()); return (this.tesService.runCommand(identity,identity.site.appCatalogCmd) as Observable<Strudelapp[]>) - .pipe(tap((_) => console.log('got apps',Date.now())), catchError(this.handleError('getStrudelApps', <Strudelapp[]>[]))) + .pipe(catchError(this.handleError('getStrudelApps', <Strudelapp[]>[]))) } return of([] as Strudelapp[]) } -- GitLab