Compare commits

..

No commits in common. "c10cdf809bdf5701199ea5615d5cc73e105df54a" and "67e722347974953c979eac3f8a4317efad8ac7a3" have entirely different histories.

2 changed files with 2 additions and 8 deletions

View File

@ -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()});
}

View File

@ -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());
});
}
}