X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=webapp-frontend%2Fsrc%2Fapp%2Fservices%2Fui%2Ferror-dialog.service.ts;h=2f668282abd261316be12e4f6b05aedeaf1d7937;hb=43e79e4a410e1cf377d344cae2c9a7a6e4806fe9;hp=a5a12f4528a18315dfa3baa405f66998c163dd2a;hpb=59f2bcb96fad2d6faee48b4ca65da36249ec5297;p=portal%2Fric-dashboard.git diff --git a/webapp-frontend/src/app/services/ui/error-dialog.service.ts b/webapp-frontend/src/app/services/ui/error-dialog.service.ts index a5a12f45..2f668282 100644 --- a/webapp-frontend/src/app/services/ui/error-dialog.service.ts +++ b/webapp-frontend/src/app/services/ui/error-dialog.service.ts @@ -27,8 +27,8 @@ import { UiService } from './ui.service'; export class ErrorDialogService { darkMode: boolean; - panelClass: string = ""; - public errorMessage: string = ''; + panelClass: string; + public errorMessage: string; constructor(private dialog: MatDialog, public ui: UiService) { } @@ -38,9 +38,9 @@ export class ErrorDialogService { this.darkMode = isDark; }); if (this.darkMode) { - this.panelClass = "dark-theme"; + this.panelClass = 'dark-theme'; } else { - this.panelClass = ""; + this.panelClass = ''; } return this.dialog.open(ErrorDialogComponent, { panelClass: this.panelClass,