Code Review
/
portal
/
ric-dashboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade client API versions to R3 latest
[portal/ric-dashboard.git]
/
webapp-frontend
/
src
/
app
/
services
/
ui
/
error-dialog.service.ts
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
a5a12f4
..
2f66828
100644
(file)
--- 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;
export class ErrorDialogService {
darkMode: boolean;
- panelClass: string
= ""
;
- public errorMessage: string
= ''
;
+ panelClass: string;
+ public errorMessage: string;
constructor(private dialog: MatDialog,
public ui: UiService) { }
constructor(private dialog: MatDialog,
public ui: UiService) { }
@@
-38,9
+38,9
@@
export class ErrorDialogService {
this.darkMode = isDark;
});
if (this.darkMode) {
this.darkMode = isDark;
});
if (this.darkMode) {
- this.panelClass =
"dark-theme"
;
+ this.panelClass =
'dark-theme'
;
} else {
} else {
- this.panelClass =
""
;
+ this.panelClass =
''
;
}
return this.dialog.open(ErrorDialogComponent, {
panelClass: this.panelClass,
}
return this.dialog.open(ErrorDialogComponent, {
panelClass: this.panelClass,