From bff337ad3102a92adb89bb0e5f74cfabd80a2a78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bouget?= Date: Thu, 23 May 2024 11:17:39 +0200 Subject: [PATCH] clean code --- src/app/core/services/menu.service.ts | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/src/app/core/services/menu.service.ts b/src/app/core/services/menu.service.ts index 3f426c0..91960e8 100644 --- a/src/app/core/services/menu.service.ts +++ b/src/app/core/services/menu.service.ts @@ -174,32 +174,6 @@ export class MenuService { refreshCb(); } }); - // this.trackerService.trackEvent('click', 'release', 'beta'); - // this.dialogRef.closeAll(); - // this.ngzone.run(() => { - // const config = new MatDialogConfig(); - // const dialogRef: MatDialogRef = - // this.dialog.open(ConfirmDialogComponent, config); - // dialogRef.componentInstance.title = this.translate.instant( - // 'GLOBAL.ENABLE_BETA_VERSIONS' - // ); - // dialogRef.componentInstance.message = this.translate.instant( - // 'GLOBAL.BETA_VERSIONS_WARNING' - // ); - // dialogRef - // .afterClosed() - // .toPromise() - // .then((e) => { - // if (e === 'confirm') { - // // User confirm - // this.setChannel('beta'); - // } else if (e === 'cancel') { - // this.setChannel('latest'); - // // re construct the menu to set channel to latest - // this.constructMenu(); - // } - // }); - // }); } }, checked: this.currentChannel === 'beta',