import { Component, Inject, OnInit } from '@angular/core';
import { CorrectiveMaintenanceOrderField } from '../../../../interfaces/corrective-maintenance.interface';
import { MAT_DIALOG_DATA } from '@angular/material/dialog';

@Component({
    selector: 'app-delete-form-field-selector',
    templateUrl: './delete-form-field-selector.component.html',
    styleUrl: './delete-form-field-selector.component.css',
    standalone: false
})
export class DeleteFormFieldSelectorComponent implements OnInit {
  formFields: CorrectiveMaintenanceOrderField[];

  constructor(
    @Inject(MAT_DIALOG_DATA) private _data: any,
  ) {
    this.formFields = [];
  }

  ngOnInit(): void {
    this.formFields = this._data.formFields;
  }
}
