X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fsrc%2Fapp%2Fcatalog%2Fcatalog.component.ts;h=d46c99f73149e039b8b374ad587df4a8ab112ae3;hb=43e79e4a410e1cf377d344cae2c9a7a6e4806fe9;hp=d1c140002ccd17b9ac12ea61340003b5fcfbc3ea;hpb=b7d7982bbfbf3a1333feb8b811f99497752d3722;p=portal%2Fric-dashboard.git diff --git a/webapp-frontend/src/app/catalog/catalog.component.ts b/webapp-frontend/src/app/catalog/catalog.component.ts index d1c14000..d46c99f7 100644 --- a/webapp-frontend/src/app/catalog/catalog.component.ts +++ b/webapp-frontend/src/app/catalog/catalog.component.ts @@ -41,7 +41,7 @@ import { CatalogDataSource } from './catalog.datasource'; export class CatalogComponent implements OnInit, OnDestroy { darkMode: boolean; - panelClass: string = ""; + panelClass: string; displayedColumns: string[] = ['name', 'version', 'action']; dataSource: CatalogDataSource; private instanceChange: Subscription; @@ -69,7 +69,7 @@ export class CatalogComponent implements OnInit, OnDestroy { this.instanceKey = instanceKey; this.dataSource.loadTable(instanceKey); } - }) + }); } ngOnDestroy() { @@ -78,9 +78,9 @@ export class CatalogComponent implements OnInit, OnDestroy { onConfigureApp(xapp: XMDeployableApp): void { if (this.darkMode) { - this.panelClass = "dark-theme"; + this.panelClass = 'dark-theme'; } else { - this.panelClass = ""; + this.panelClass = ''; } const dialogRef = this.dialog.open(AppConfigurationComponent, { panelClass: this.panelClass, @@ -94,7 +94,7 @@ export class CatalogComponent implements OnInit, OnDestroy { instanceKey: this.instanceKey } - }) + }); } onDeployApp(app: XMDeployableApp): void {