Revision 59816
Added by Argiro Kokogiannaki over 3 years ago
entitySearch.service.ts | ||
---|---|---|
1 | 1 |
import {Injectable} from '@angular/core'; |
2 |
import {Http, Response} from '@angular/http'; |
|
3 | 2 |
import {HttpClient, HttpErrorResponse} from "@angular/common/http"; |
4 |
import {Observable, throwError} from 'rxjs'; |
|
5 |
import {AutoCompleteValue} from '../../searchPages/searchUtils/searchHelperClasses.class'; |
|
3 |
import {throwError} from 'rxjs'; |
|
6 | 4 |
|
7 | 5 |
|
8 | 6 |
|
9 | 7 |
import{EnvProperties} from '../properties/env-properties'; |
10 | 8 |
|
11 |
import {StringUtils} from '../string-utils.class'; |
|
12 | 9 |
import {catchError, map} from "rxjs/operators"; |
13 | 10 |
@Injectable() |
14 | 11 |
export class EntitiesSearchService { |
Also available in: Unified diff
[Library|Trunk]
code clean up:
-remove app.* files from library
-remove unused imports, code, files (Old search pages for results, dataproviders, map search page, etc)
-remove Freeguard from modules
-unsubscribe all subscriptions
-Services: configuration, isvocabularies, user management: unsubscribe from app component or the component that uses them (clearSubscriptions())
-Fetchers: unsubscribe from the component that uses them (clearSubscriptions())