Merge pull request #5065 from pengpengshui/createlabel

Add func about after create one label success close create panel #4655
This commit is contained in:
pengpengshui 2018-06-01 17:28:26 +08:00 committed by GitHub
commit d7a4c8aece
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -74,4 +74,4 @@
.dropdown .dropdown-toggle.btn {
padding: 0 !important;
}
.borderSty{border: 1px solid #A1A1A1; line-height: 22px;}
.borderSty{border: 1px solid #A1A1A1 !important; line-height: 22px;}

View File

@ -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;

View File

@ -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-7",
"harbor-ui": "0.7.19-test-9",
"jasmine-core": "2.4.1",
"jasmine-spec-reporter": "2.5.0",
"karma": "~1.7.0",