import { ChangeDetectionStrategy, Component } from '@angular/core';
import { CustomerDataEditComponent } from './customer-data-edit.component';

@Component({
  selector: 'page-customer-data-edit-b2b',
  templateUrl: 'customer-data-edit-b2b.component.html',
  styleUrls: ['customer-data-edit.component.scss'],
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class CustomerDataEditB2BComponent extends CustomerDataEditComponent {
  afterInitForm = (control) => {
    control.get('lastName').setValidators([]);
    control.get('firstName').setValidators([]);
  };
}
