import { Component } from '@angular/core';
import { DetailsBase } from '@objects-view/details-base';
import { ActivatedRoute } from '@angular/router';
import { RoleListUiService } from '../role-list-ui.service';
import { IRoleModel } from '@fleio-api/client-user/roles/model/role.model';

@Component({
  selector: 'app-role-edit',
  templateUrl: './role-edit.component.html',
  styleUrls: ['./role-edit.component.scss']
})
export class RoleEditComponent extends DetailsBase<IRoleModel> {
  constructor(route: ActivatedRoute, roleListUiService: RoleListUiService) {
    super(route, roleListUiService, 'edit', 'role');
  }
}
