mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-18 16:25:16 +01:00
Fix tag-retention ui bug
Signed-off-by: sshijun <sshijun@vmware.com>
This commit is contained in:
parent
6c7ef36e60
commit
dbd65fd94a
@ -117,14 +117,7 @@ export class TagRetentionComponent implements OnInit {
|
||||
level: "project",
|
||||
ref: this.projectId
|
||||
};
|
||||
let resolverData = this.route.snapshot.parent.data;
|
||||
if (resolverData) {
|
||||
let project = <Project>resolverData["projectResolver"];
|
||||
if (project.metadata && project.metadata.retention_id) {
|
||||
this.retentionId = project.metadata.retention_id;
|
||||
}
|
||||
}
|
||||
this.getRetention();
|
||||
this.refreshAfterCreatRetention();
|
||||
this.getMetadata();
|
||||
}
|
||||
openConfirm(cron: string) {
|
||||
|
Loading…
Reference in New Issue
Block a user