Skip to content

Commit

Permalink
fix dialog ref type in clipboard dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
jwetzell committed Oct 30, 2024
1 parent 70c4230 commit ea20332
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Component } from '@angular/core';
import { AbstractControl, FormControl, FormGroup, ValidationErrors, Validators } from '@angular/forms';
import { MatDialogRef } from '@angular/material/dialog';
import { CopyService } from 'src/app/services/copy.service';
import { ImportConfigComponent } from '../import-config/import-config.component';

@Component({
selector: 'app-clipboard-dialog',
Expand All @@ -14,7 +13,7 @@ export class ClipboardDialogComponent {

constructor(
private copyService: CopyService,
public dialogRef: MatDialogRef<ImportConfigComponent>
public dialogRef: MatDialogRef<ClipboardDialogComponent>
) {
this.formGroup = new FormGroup({
clipboard: new FormControl(null, [Validators.required, this.jsonValidator()]),
Expand Down

0 comments on commit ea20332

Please sign in to comment.