Skip to content

Commit

Permalink
fix: lnt
Browse files Browse the repository at this point in the history
  • Loading branch information
rengert committed Sep 9, 2022
1 parent 387ecb6 commit 60c6e2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions src/app/components/dialogs/dialogs.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { DialogService } from '@bolzplatzarena/components';
import { CommonDialogComponent } from './examples/common-dialog/common-dialog.component';
import { SimpleFormDialogComponent } from './examples/form-dialog/form-dialog.component';
Expand All @@ -9,14 +9,10 @@ import { SimpleComponent } from './examples/simple/simple.component';
templateUrl: './dialogs.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class DialogsComponent implements OnInit {

export class DialogsComponent {
constructor(private readonly dialog: DialogService) {
}

ngOnInit(): void {
}

openDialog() {
this.dialog.open(SimpleComponent);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class SimpleFormDialogComponent extends FormDialogComponent<{ email: stri
constructor(
private readonly fb: FormBuilder,
dialogRef: MatDialogRef<{ result: string }>,
@Inject(MAT_DIALOG_DATA) data: { info: any, translateKey: string },
@Inject(MAT_DIALOG_DATA) data: { info: unknown, translateKey: string },
) {
super(dialogRef, data);

Expand Down

0 comments on commit 60c6e2a

Please sign in to comment.