mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 04:05:40 +01:00
Modify click to registry under project
This commit is contained in:
parent
fcf4807583
commit
cdcaff10bf
@ -1,3 +1,3 @@
|
||||
<div style="margin-top: 4px;">
|
||||
<hbr-replication #replicationView [projectId]="projectIdentify" [projectName]="projectName" [isSystemAdmin]="isSystemAdmin" [withReplicationJob]='true' ></hbr-replication>
|
||||
<hbr-replication #replicationView [projectId]="projectIdentify" [projectName]="projectName" [isSystemAdmin]="isSystemAdmin" [withReplicationJob]='true' (goToRegistry)="goRegistry()"></hbr-replication>
|
||||
</div>
|
@ -28,6 +28,7 @@ export class ReplicationPageComponent implements OnInit, AfterViewInit {
|
||||
projectName: string;
|
||||
|
||||
constructor(private route: ActivatedRoute,
|
||||
private router: Router,
|
||||
private proService: ProjectService,
|
||||
private session: SessionService) { }
|
||||
|
||||
@ -59,4 +60,8 @@ export class ReplicationPageComponent implements OnInit, AfterViewInit {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
goRegistry(): void {
|
||||
this.router.navigate(['/harbor', 'registries']);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user