Moved showAccessStatus from UI to item config

Renamed item-page to item to make it generic
This commit is contained in:
nibou230
2022-05-04 11:17:25 -04:00
parent 9f50b4997c
commit 2b77e4a90d
10 changed files with 28 additions and 29 deletions

View File

@@ -32,6 +32,6 @@ export class ItemSearchResultGridElementComponent extends SearchResultGridElemen
ngOnInit(): void {
super.ngOnInit();
this.itemPageRoute = getItemPageRoute(this.dso);
this.showAccessStatus = environment.ui.showAccessStatuses;
this.showAccessStatus = environment.item.showAccessStatuses;
}
}