mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-18 12:51:27 +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;">
|
<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>
|
</div>
|
@ -28,6 +28,7 @@ export class ReplicationPageComponent implements OnInit, AfterViewInit {
|
|||||||
projectName: string;
|
projectName: string;
|
||||||
|
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
|
private router: Router,
|
||||||
private proService: ProjectService,
|
private proService: ProjectService,
|
||||||
private session: SessionService) { }
|
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