X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=dashboard%2Fwebapp-frontend%2Fsrc%2Fapp%2Fservices%2Fui%2Floading-dialog.service.ts;h=d40928b3a5209b7473b1d0144796d9f11f50b322;hb=dbb8ebab82ddbace4c6feb7180a4c6eff5697493;hp=bf0830ae144fa32ad58a1431c5ddebfa9a042573;hpb=a2bc79c5f0027e953815d6e98814a748b36827aa;p=nonrtric.git diff --git a/dashboard/webapp-frontend/src/app/services/ui/loading-dialog.service.ts b/dashboard/webapp-frontend/src/app/services/ui/loading-dialog.service.ts index bf0830ae..d40928b3 100644 --- a/dashboard/webapp-frontend/src/app/services/ui/loading-dialog.service.ts +++ b/dashboard/webapp-frontend/src/app/services/ui/loading-dialog.service.ts @@ -7,9 +7,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -29,10 +29,10 @@ import { UiService } from './ui.service'; export class LoadingDialogService { darkMode: boolean; - panelClass: string = ""; + panelClass = ''; constructor(private dialog: MatDialog, - public ui: UiService) { } + private ui: UiService) { } private loadingDialogRef: MatDialogRef; @@ -41,9 +41,9 @@ export class LoadingDialogService { this.darkMode = isDark; }); if (this.darkMode) { - this.panelClass = "dark-theme"; + this.panelClass = 'dark-theme'; } else { - this.panelClass = ""; + this.panelClass = ''; } this.loadingDialogRef = this.dialog.open(LoadingDialogComponent, { panelClass: this.panelClass, @@ -57,7 +57,7 @@ export class LoadingDialogService { } stopLoading() { - this.loadingDialogRef.close() + this.loadingDialogRef.close(); } }