mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 15:33:04 +00:00
Added tests
This commit is contained in:
@@ -31,7 +31,7 @@ export class FormService {
|
||||
/**
|
||||
* Method to retrieve form's data from state
|
||||
*/
|
||||
public getFormData(formId: string): Observable<FormControl> {
|
||||
public getFormData(formId: string): Observable<any> {
|
||||
return this.store.select(formObjectFromIdSelector(formId))
|
||||
.filter((state) => isNotUndefined(state))
|
||||
.map((state) => state.data)
|
||||
|
Reference in New Issue
Block a user