- onConfigureApp(xapp: XMXapp): void {
- if (this.darkMode) {
- this.panelClass = 'dark-theme';
- } else {
- this.panelClass = '';
- }
- const dialogRef = this.dialog.open(AppConfigurationComponent, {
- panelClass: this.panelClass,
- width: '40%',
- maxHeight: '500px',
- position: {
- top: '10%'
- },
- data: {
- xapp: xapp,
- instanceKey: this.instanceKey
- }
-
- });
- }
-