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-create',
  templateUrl: './role-create.component.html',
  styleUrls: ['./role-create.component.scss']
})
export class RoleCreateComponent extends DetailsBase<IRoleModel> {
  constructor(route: ActivatedRoute, roleListUiService: RoleListUiService) {
    super(route, roleListUiService, 'create', null);
  }
}
