add history service& search popup component
This commit is contained in:
1 parent
710ebcc934
commit
63515a9a39
9 files changed
+201
-107
No files matched your search
@@ -0,0 +1,19 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { HttpClient } from '@angular/common/http';
|
||||
import { environment } from '../../../environments/environment.prod';
|
||||
import { SearchItem } from '../../shared/models/search-item.model';
|
||||
import { Observable, of } from 'rxjs';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class HistoryService {
|
||||
private backend_apiUrl = environment.API_URL;
|
||||
private apiAction = 'history';
|
||||
|
||||
constructor(private http: HttpClient) {}
|
||||
|
||||
getSearchHistory(): Observable<SearchItem[]> {
|
||||
return of([] as SearchItem[]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user