Skip to content
Snippets Groups Projects
Commit e426e455 authored by Chris Hines's avatar Chris Hines
Browse files

fix local configs

parent a794187d
No related branches found
No related tags found
4 merge requests!106if stat fails, display the error instead of immediately refreshing...,!99Dev,!49Dev,!46Dev
Pipeline #10204 passed
......@@ -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 = []
}
......
......@@ -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[])
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment