From 8b2b3b1594e876f0282765e2182ae344732cb59f Mon Sep 17 00:00:00 2001 From: pfh Date: Thu, 31 May 2018 15:07:48 +0800 Subject: [PATCH] Add func about after create label close create panel --- .../lib/src/create-edit-label/create-edit-label.component.scss | 2 +- .../lib/src/create-edit-label/create-edit-label.component.ts | 2 ++ src/ui_ng/package.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ui_ng/lib/src/create-edit-label/create-edit-label.component.scss b/src/ui_ng/lib/src/create-edit-label/create-edit-label.component.scss index ba1609915..be4937240 100644 --- a/src/ui_ng/lib/src/create-edit-label/create-edit-label.component.scss +++ b/src/ui_ng/lib/src/create-edit-label/create-edit-label.component.scss @@ -74,4 +74,4 @@ .dropdown .dropdown-toggle.btn { padding: 0 !important; } - .borderSty{border: 1px solid #A1A1A1; line-height: 22px;} \ No newline at end of file + .borderSty{border: 1px solid #A1A1A1 !important; line-height: 22px;} \ No newline at end of file diff --git a/src/ui_ng/lib/src/create-edit-label/create-edit-label.component.ts b/src/ui_ng/lib/src/create-edit-label/create-edit-label.component.ts index f2beebddf..deccdc6f6 100644 --- a/src/ui_ng/lib/src/create-edit-label/create-edit-label.component.ts +++ b/src/ui_ng/lib/src/create-edit-label/create-edit-label.component.ts @@ -151,6 +151,7 @@ export class CreateEditLabelComponent implements OnInit, OnDestroy { this.inProgress = false; this.reload.emit(); this.labelModel = this.initLabel(); + this.formShow = false; }) .catch(err => { this.inProgress = false; @@ -164,6 +165,7 @@ export class CreateEditLabelComponent implements OnInit, OnDestroy { this.inProgress = false; this.reload.emit(); this.labelModel = this.initLabel(); + this.formShow = false; }) .catch(err => { this.inProgress = false; diff --git a/src/ui_ng/package.json b/src/ui_ng/package.json index 1d9bd43bf..fa01a1811 100644 --- a/src/ui_ng/package.json +++ b/src/ui_ng/package.json @@ -49,7 +49,7 @@ "bootstrap": "4.0.0-alpha.5", "codelyzer": "~2.0.0-beta.4", "enhanced-resolve": "^3.0.0", - "harbor-ui": "0.7.19-test-5", + "harbor-ui": "0.7.19-test-8", "jasmine-core": "2.4.1", "jasmine-spec-reporter": "2.5.0", "karma": "~1.7.0",