Commits
Raf Ponsaerts authored 24c07536b0a
13 13 | import { NotificationsService } from '../../../shared/notifications/notifications.service'; |
14 14 | import { PaginationComponentOptions } from '../../../shared/pagination/pagination-component-options.model'; |
15 15 | import { EpersonDtoModel } from '../../../core/eperson/models/eperson-dto.model'; |
16 16 | import { FeatureID } from '../../../core/data/feature-authorization/feature-id'; |
17 17 | import { AuthorizationDataService } from '../../../core/data/feature-authorization/authorization-data.service'; |
18 18 | import { getAllSucceededRemoteDataPayload } from '../../../core/shared/operators'; |
19 19 | import { RestResponse } from '../../../core/cache/response.models'; |
20 20 | import { ConfirmationModalComponent } from '../../../shared/confirmation-modal/confirmation-modal.component'; |
21 21 | import { NgbModal } from '@ng-bootstrap/ng-bootstrap'; |
22 22 | import { RequestService } from '../../../core/data/request.service'; |
23 - | import { ObjectCacheService } from "../../../core/cache/object-cache.service"; |
24 - | import { tap } from "rxjs/internal/operators/tap"; |
25 23 | import { filter } from "rxjs/internal/operators/filter"; |
26 24 | |
27 25 | @Component({ |
28 26 | selector: 'ds-epeople-registry', |
29 27 | templateUrl: './epeople-registry.component.html', |
30 28 | }) |
31 29 | /** |
32 30 | * A component used for managing all existing epeople within the repository. |
33 31 | * The admin can create, edit or delete epeople here. |
34 32 | */ |
72 70 | */ |
73 71 | subs: Subscription[] = []; |
74 72 | |
75 73 | constructor(private epersonService: EPersonDataService, |
76 74 | private translateService: TranslateService, |
77 75 | private notificationsService: NotificationsService, |
78 76 | private authorizationService: AuthorizationDataService, |
79 77 | private formBuilder: FormBuilder, |
80 78 | private router: Router, |
81 79 | private modalService: NgbModal, |
82 - | public requestService: RequestService, |
83 - | public objectCache: ObjectCacheService) { |
80 + | public requestService: RequestService) { |
84 81 | this.currentSearchQuery = ''; |
85 82 | this.currentSearchScope = 'metadata'; |
86 83 | this.searchForm = this.formBuilder.group(({ |
87 84 | scope: 'metadata', |
88 85 | query: '', |
89 86 | })); |
90 87 | } |
91 88 | |
92 89 | ngOnInit() { |
93 90 | this.initialisePage(); |