Skip to content

Commit

Permalink
[NAB-354] I18nString view performance
Browse files Browse the repository at this point in the history
- fix after megre with next
  • Loading branch information
Kovy95 committed May 6, 2024
1 parent 3d76d34 commit 8c696ce
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import {AfterViewInit, Component, HostListener} from '@angular/core';
import {MatDialog} from '@angular/material/dialog';
import {DialogConfirmComponent} from './dialogs/dialog-confirm/dialog-confirm.component';
import {TutorialService} from './tutorial/tutorial-service';
import {MortgageService} from './modeler/mortgage.service';
import {Router} from '@angular/router';
import {LanguageService} from '@netgrif/components-core';
import {NetgrifApplicationEngine} from '@netgrif/components-core/';
import {AppBuilderConfigurationService} from './app-builder-configuration.service';
import {DialogConfirmComponent} from './dialogs/dialog-confirm/dialog-confirm.component';
Expand All @@ -27,10 +23,10 @@ export class AppComponent implements AfterViewInit {
title = 'Netgrif Application Builder';
config: NetgrifApplicationEngine;

// @HostListener('window:beforeunload', ['$event'])
// WindowBeforeUnload($event: any) {
// $event.returnValue = 'Your data will be lost!';
// }
@HostListener('window:beforeunload', ['$event'])
WindowBeforeUnload($event: any) {
$event.returnValue = 'Your data will be lost!';
}

constructor(
config: AppBuilderConfigurationService,
Expand Down

0 comments on commit 8c696ce

Please sign in to comment.