diff --git a/src/app/shell/admin-tools/data/directions-wrapper/directions-institution-hierarchies-list/directions-institution-hierarchies-list.component.scss b/src/app/shell/admin-tools/data/directions-wrapper/directions-institution-hierarchies-list/directions-institution-hierarchies-list.component.scss
index 3eee176ce8..81bc15c404 100644
--- a/src/app/shell/admin-tools/data/directions-wrapper/directions-institution-hierarchies-list/directions-institution-hierarchies-list.component.scss
+++ b/src/app/shell/admin-tools/data/directions-wrapper/directions-institution-hierarchies-list/directions-institution-hierarchies-list.component.scss
@@ -1 +1,22 @@
-@import "src/app/shared/styles/tables.scss";
\ No newline at end of file
+@import "src/app/shared/styles/tables.scss";
+
+table {
+ width: 100%;
+ height: 20px;
+ td, th {
+ border-style: none;
+ }
+
+ img {
+ width: 30px;
+ height: 30px;
+ }
+
+ a {
+ cursor: pointer;
+ span {
+ margin-left: 5px;
+ vertical-align: top;
+ }
+ }
+}
diff --git a/src/app/shell/admin-tools/data/directions-wrapper/directions-institution-hierarchies-list/directions-institution-hierarchies-list.component.ts b/src/app/shell/admin-tools/data/directions-wrapper/directions-institution-hierarchies-list/directions-institution-hierarchies-list.component.ts
index c76e987fab..b024c8b7a8 100644
--- a/src/app/shell/admin-tools/data/directions-wrapper/directions-institution-hierarchies-list/directions-institution-hierarchies-list.component.ts
+++ b/src/app/shell/admin-tools/data/directions-wrapper/directions-institution-hierarchies-list/directions-institution-hierarchies-list.component.ts
@@ -1,10 +1,16 @@
-import { Component, Input, OnDestroy, OnInit } from '@angular/core';
+import { Component, Input, OnDestroy, OnInit, ViewChild } from '@angular/core';
+import { MatSort } from '@angular/material/sort';
import { MatTableDataSource } from '@angular/material/table';
+import { Router } from '@angular/router';
import { Select, Store } from '@ngxs/store';
import { distinctUntilChanged, filter, map, Observable, Subject, takeUntil } from 'rxjs';
+import { Direction } from '../../../../../shared/models/category.model';
+import { DefaultFilterState } from '../../../../../shared/models/defaultFilterState.model';
import { Institution, InstituitionHierarchy, InstitutionFieldDescription } from '../../../../../shared/models/institution.model';
+import { SetDirections } from '../../../../../shared/store/filter.actions';
import { GetFieldDescriptionByInstitutionId, GetAllInstitutionsHierarchy } from '../../../../../shared/store/meta-data.actions';
import { MetaDataState } from '../../../../../shared/store/meta-data.state';
+import { InsHierarchyTableRecord } from './ins-hierarchy-table-record';
@Component({
@@ -20,14 +26,18 @@ export class DirectionsInstitutionHierarchiesListComponent implements OnInit, On
@Select(MetaDataState.institutionFieldDesc)
institutionFieldDesc$: Observable
;
+ @ViewChild(MatSort) sort: MatSort;
+
destroy$: Subject = new Subject();
+ staticColumns: string[] = ['Напрямок для користувача','actions'];
+ columns: string[];
displayedColumns: string[];
institutionalHierarchies: InstituitionHierarchy[];
- records: string[][];
+ records: InsHierarchyTableRecord[] = [];
isLoaded: boolean = false;
dataSource: MatTableDataSource