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

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