Merge pull request #9938 from jwangyangls/fix-retag-issue

FIx the tag list is not refreshed when the target refills the current repository when the retag is operated.
This commit is contained in:
Will Sun 2019-11-20 16:34:31 +08:00 committed by GitHub
commit f3f481dd12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -583,6 +583,9 @@ export class TagComponent implements OnInit, AfterViewInit {
.subscribe(response => {
this.translateService.get('RETAG.MSG_SUCCESS').subscribe((res: string) => {
this.errorHandler.info(res);
if (`${this.imageNameInput.projectName.value}/${this.imageNameInput.repoName.value}` === this.repoName) {
this.retrieve();
}
});
}, error => {
this.errorHandler.error(error);

View File

@ -312,6 +312,7 @@ clr-datagrid {
clr-radio-wrapper {
.clr-control-label {
min-height: 0.8rem;
width: 0.5rem;
}
}
}