import { Component, OnInit } from '@angular/core';
import { ListBase } from '@objects-view/list-base';
import { ActivatedRoute } from '@angular/router';
import { RefreshService } from '@shared/ui-api/refresh.service';
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-list',
  templateUrl: './message-template-list.component.html',
  styleUrls: ['./message-template-list.component.scss']
})
export class MessageTemplateListComponent extends ListBase<IMessageTemplateModel> implements OnInit {

  constructor(
    private route: ActivatedRoute, private messageTemplateListUIService: MessageTemplateListUIService,
    private refreshService: RefreshService,
  ) {
    super(route, messageTemplateListUIService, refreshService, 'messageTemplates');
  }

  ngOnInit() {
    super.ngOnInit();
  }

}
