summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/services/intent-based-services/cloud-leased-line
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/views/services/intent-based-services/cloud-leased-line')
-rw-r--r--usecaseui-portal/src/app/views/services/intent-based-services/cloud-leased-line/cloud-leased-line.component.html2
-rw-r--r--usecaseui-portal/src/app/views/services/intent-based-services/cloud-leased-line/cloud-leased-line.component.ts10
2 files changed, 9 insertions, 3 deletions
diff --git a/usecaseui-portal/src/app/views/services/intent-based-services/cloud-leased-line/cloud-leased-line.component.html b/usecaseui-portal/src/app/views/services/intent-based-services/cloud-leased-line/cloud-leased-line.component.html
index f4dd029f..ae733c5f 100644
--- a/usecaseui-portal/src/app/views/services/intent-based-services/cloud-leased-line/cloud-leased-line.component.html
+++ b/usecaseui-portal/src/app/views/services/intent-based-services/cloud-leased-line/cloud-leased-line.component.html
@@ -51,7 +51,7 @@
nz-button
nzType="primary"
class="buy-button"
- (click)="goMonitorService()"
+ (click)="goMonitorService(data)"
>
Intent Monitor
</button>
diff --git a/usecaseui-portal/src/app/views/services/intent-based-services/cloud-leased-line/cloud-leased-line.component.ts b/usecaseui-portal/src/app/views/services/intent-based-services/cloud-leased-line/cloud-leased-line.component.ts
index 7b39f1aa..a9d239df 100644
--- a/usecaseui-portal/src/app/views/services/intent-based-services/cloud-leased-line/cloud-leased-line.component.ts
+++ b/usecaseui-portal/src/app/views/services/intent-based-services/cloud-leased-line/cloud-leased-line.component.ts
@@ -147,8 +147,14 @@ export class CloudLeasedLineComponent implements OnInit {
this.cloudLeasedLineShowFlag = true;
}
// to monitor page
- goMonitorService(): void {
- this.router.navigateByUrl('/fcaps/monitor_service');
+ goMonitorService(data): void {
+ // this.router.navigateByUrl('/fcaps/monitor_service');navigate
+ this.router.navigate(['/fcaps/monitor_service'], {
+ queryParams: {
+ instanceId: data.instanceId
+ },
+ skipLocationChange: true
+ });
}
activeCloudLeasedLine(row): void {