import { Component } from '@angular/core';
import { DetailsBase } from '@objects-view/details-base';
import { IPredefinedReplyCategoryModel } from '@fleio-api/plugins/tickets/model/predefined-reply-category.model';
import { ActivatedRoute } from '@angular/router';
import { PredefinedRepliesListUiService } from '../predefined-replies-list-ui.service';

@Component({
  selector: 'app-predefined-reply-category-edit',
  templateUrl: './predefined-reply-category-edit.component.html',
  styleUrls: ['./predefined-reply-category-edit.component.scss']
})
export class PredefinedReplyCategoryEditComponent extends DetailsBase<IPredefinedReplyCategoryModel> {
  constructor(route: ActivatedRoute, predefinedRepliesListUiService: PredefinedRepliesListUiService) {
    super(route, predefinedRepliesListUiService, 'edit-category', 'category');
  }
}
