Fix the quoestion of the file setting.json

Clear the error message when Api failed

Signed-off-by: Yogi_Wang <yawang@vmware.com>
This commit is contained in:
Yogi_Wang 2019-07-23 11:43:09 +08:00
parent e8565a4539
commit 54c142d555
5 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@harbor/ui",
"version": "1.8.0-rc2",
"version": "1.9.0",
"description": "Harbor shared UI components based on Clarity and Angular7",
"author": "CNCF",
"module": "index.js",

View File

@ -1,6 +1,6 @@
{
"name": "harbor",
"version": "1.8.0",
"version": "1.9.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "harbor",
"version": "1.8.0",
"version": "1.9.0",
"description": "Harbor UI with Clarity",
"angular-cli": {},
"scripts": {

View File

@ -45,7 +45,7 @@ registerLocaleData(localePt, 'pt-br');
export function initConfig(configService: AppConfigService, skinableService: SkinableConfig) {
return () => {
skinableService.getCustomFile();
skinableService.getCustomFile().subscribe();
configService.load().subscribe();
};
}

View File

@ -109,6 +109,7 @@ export class AddHttpAuthGroupComponent implements OnInit {
this.currentForm.reset();
this.addHttpAuthOpened = true;
this.role_id = 1;
this.inlineAlert.close();
}