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; this.itemTypes = itemTypes;
//return data; //return data;
}) })
.catch((error) => { .catch(() => this.itemTypes = null);
console.log(error);
this.itemTypes = null
});
} else { } else {
return new Promise<void>((resolve) => {resolve()}); return new Promise<void>((resolve) => {resolve()});
} }

View File

@ -13,10 +13,7 @@ export function appConfigFactory(_injector:Injector, appConfig: AppConfig, oauth
oauthService.setStorage(authStorage); oauthService.setStorage(authStorage);
oauthService.setupAutomaticSilentRefresh(); oauthService.setupAutomaticSilentRefresh();
}).then(() => oauthService.loadDiscoveryDocument() }).then(() => oauthService.loadDiscoveryDocument()
).then(() => resolve()).catch((error) => { ).then(() => resolve()).catch(() => reject());
console.log(error);
reject();
});
}); });
} }
} }