import { Component, Inject } from '@angular/core';
import { MAT_DIALOG_DATA } from '@app_core/components/angular-material-index';
import { DepartmentDataService } from '@app_modules/department/department-data.service';

@Component({
  selector: 'app-select-department-popup',
  templateUrl: './select-department-popup.component.html',
  styleUrls: [ './select-department-popup.component.scss']
})

export class SelectDepartmentPopupComponent  {

  public selectedDepartments: number[] = [];
  public text: string;
  public iconanme: string;

  constructor(
    public departmentDataService: DepartmentDataService,
    @Inject(MAT_DIALOG_DATA) data: any
  ) {
    this.text = data.text;
    this.iconanme = data.iconanme;
  }

}
