Compare commits
No commits in common. "c10cdf809bdf5701199ea5615d5cc73e105df54a" and "67e722347974953c979eac3f8a4317efad8ac7a3" have entirely different histories.
c10cdf809b
...
67e7223479
@ -63,10 +63,7 @@ export class ItemTypeService {
|
||||
this.itemTypes = itemTypes;
|
||||
//return data;
|
||||
})
|
||||
.catch((error) => {
|
||||
console.log(error);
|
||||
this.itemTypes = null
|
||||
});
|
||||
.catch(() => this.itemTypes = null);
|
||||
} else {
|
||||
return new Promise<void>((resolve) => {resolve()});
|
||||
}
|
||||
|
@ -13,10 +13,7 @@ export function appConfigFactory(_injector:Injector, appConfig: AppConfig, oauth
|
||||
oauthService.setStorage(authStorage);
|
||||
oauthService.setupAutomaticSilentRefresh();
|
||||
}).then(() => oauthService.loadDiscoveryDocument()
|
||||
).then(() => resolve()).catch((error) => {
|
||||
console.log(error);
|
||||
reject();
|
||||
});
|
||||
).then(() => resolve()).catch(() => reject());
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user