Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanebouget committed May 23, 2024
1 parent 9e10f9f commit bff337a
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions src/app/core/services/menu.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<ConfirmDialogComponent> =
// 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',
Expand Down

0 comments on commit bff337a

Please sign in to comment.