import { Component, OnDestroy, OnInit } from '@angular/core';
import { DetailsBase } from '@objects-view/details-base';
import { ActivatedRoute } from '@angular/router';
import { IDomainContactModel } from '@fleio-api/plugins/domains/model/domain-contact.model';
import { ContactListUiService } from '../contact-list-ui.service';

@Component({
  selector: 'app-contact-edit',
  templateUrl: './contact-edit.component.html',
  styleUrls: ['./contact-edit.component.scss']
})
export class ContactEditComponent extends DetailsBase<IDomainContactModel> implements OnInit, OnDestroy {

  constructor(route: ActivatedRoute, contactListUiService: ContactListUiService) {
    super(route, contactListUiService, 'edit', 'domainContact', ['createOptions']);
  }
}
