FIx the tag list is not refreshed when the target refills the current repository when the retag is operated.

Signed-off-by: Yogi_Wang <yawang@vmware.com>
This commit is contained in:
Yogi_Wang 2019-11-20 13:20:57 +08:00
parent a1ccc0242b
commit aa925876c3
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;
}
}
}