X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fsrc%2Fapp%2Fcaas-ingress%2Fcaas-ingress.component.ts;h=c389cc91df1aef18b72779674f0f11c7ea757f9c;hb=9cf5b95a5bc9810d739d14d324dd7d80cbdb4a7d;hp=3f6e0e76a8cfa87150a7f43e79958b3e97814563;hpb=b7d7982bbfbf3a1333feb8b811f99497752d3722;p=portal%2Fric-dashboard.git diff --git a/webapp-frontend/src/app/caas-ingress/caas-ingress.component.ts b/webapp-frontend/src/app/caas-ingress/caas-ingress.component.ts index 3f6e0e76..c389cc91 100644 --- a/webapp-frontend/src/app/caas-ingress/caas-ingress.component.ts +++ b/webapp-frontend/src/app/caas-ingress/caas-ingress.component.ts @@ -18,7 +18,7 @@ * ========================LICENSE_END=================================== */ -import { Component, Input, OnInit, ViewChild } from '@angular/core'; +import { Component, Input, OnDestroy, OnInit, ViewChild } from '@angular/core'; import { MatSort } from '@angular/material/sort'; import { Subscription } from 'rxjs'; import { CaasIngressService } from '../services/caas-ingress/caas-ingress.service'; @@ -34,7 +34,7 @@ import { CaasIngressDataSource } from './caas-ingress.datasource'; templateUrl: './caas-ingress.component.html', styleUrls: ['./caas-ingress.component.scss'] }) -export class CaasIngressComponent implements OnInit { +export class CaasIngressComponent implements OnInit, OnDestroy { // Cluster name is displayed in page title @Input() cluster: string; @@ -60,7 +60,7 @@ export class CaasIngressComponent implements OnInit { if (instanceKey) { this.dataSource.loadTable(instanceKey, this.cluster, this.namespace); } - }) + }); } ngOnDestroy() {