import { Component } from '@angular/core';
import { DetailsBase } from '@objects-view/details-base';
import { ActivatedRoute } from '@angular/router';
import { IMessageTemplateModel } from '@fleio-api/message-templates/model/message-template.model';
import { MessageTemplateListUIService } from '../message-template-list-u-i.service';

@Component({
  selector: 'app-message-template-edit',
  templateUrl: './message-template-edit.component.html',
  styleUrls: ['./message-template-edit.component.scss']
})
export class MessageTemplateEditComponent extends DetailsBase<IMessageTemplateModel> {
  constructor(route: ActivatedRoute, messageTemplateListUIService: MessageTemplateListUIService) {
    super(route, messageTemplateListUIService, 'edit', 'messageTemplate',
      ['createOptions']);
  }
}
