mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-18 22:57:38 +01:00
Merge pull request #10036 from AllForNothing/tag-retention-bug
Fix tag-retention ui bug
This commit is contained in:
commit
c275bbe1dc
@ -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