[ 
https://issues.apache.org/jira/browse/FINCN-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16652304#comment-16652304
 ] 

ASF GitHub Bot commented on FINCN-99:
-------------------------------------

myrle-krantz closed pull request #10: Fixing the issue FINCN-99:Unable To 
Create A Loan Product
URL: https://github.com/apache/fineract-cn-fims-web-app/pull/10
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/src/app/loans/products/store/effects/service.effects.ts 
b/src/app/loans/products/store/effects/service.effects.ts
index 6ad3f7c..20d533d 100644
--- a/src/app/loans/products/store/effects/service.effects.ts
+++ b/src/app/loans/products/store/effects/service.effects.ts
@@ -34,10 +34,10 @@ export class ProductApiEffects {
     .ofType(productActions.SEARCH)
     .map((action: productActions.SelectAction) => action.payload)
     .debounceTime(300)
-    .switchMap(({ selectedId }) => {
+    .switchMap(fetchRequest => {
       const nextSearch$ = this.actions$.ofType(productActions.SEARCH).skip(1);
 
-      return this.portfolioService.findAllProducts(true, { searchTerm: 
selectedId })
+      return this.portfolioService.findAllProducts(true, fetchRequest )
         .takeUntil(nextSearch$)
         .map(productPage => new productActions.SearchCompleteAction({
           elements: mapToFimsProducts(productPage.elements),


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Unable To Create A Loan Product
> -------------------------------
>
>                 Key: FINCN-99
>                 URL: https://issues.apache.org/jira/browse/FINCN-99
>             Project: Fineract Cloud Native
>          Issue Type: Bug
>          Components: fineract-cn-fims-web-app
>            Reporter: Cabrel Kemfang
>            Priority: Major
>
> After filling a form for loan creation, on clicking the "create" button, 
> nothing seems to happen and there are no error messages to explain why the 
> loan was not created.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to