Skip to content

Commit

Permalink
Merge branch 'develop' into feature/MARP-1736-Add-loading-spinner-for…
Browse files Browse the repository at this point in the history
…-Proceed-button-in-Security-Monitor-Page
  • Loading branch information
ntqdinh-axonivy committed Dec 31, 2024
2 parents 5c19066 + 910bf0e commit 3192654
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,7 @@ export class ProductFeedbackService {
.set('sort', sort);
const requestURL = `${FEEDBACK_API_URL}/product/${productId}`;
return this.http
.get<FeedbackApiResponse>(requestURL, {
params: requestParams,
context: new HttpContext().set(ForwardingError, true)
})
.get<FeedbackApiResponse>(requestURL, { params: requestParams })
.pipe(
tap(response => {
if (page === 0) {
Expand Down Expand Up @@ -175,4 +172,4 @@ export class ProductFeedbackService {
this.page.set(0);
return this.findProductFeedbacksByCriteria();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ export class ProductDetailComponent {
}).subscribe(res => {
this.handleProductDetail(res.productDetail);
this.productFeedbackService.handleFeedbackApiResponse(
res.productFeedBack
);
res.productFeedBack);
this.updateDropdownSelection();
this.checkMediaSize();
this.route.queryParams.subscribe(params => {
Expand All @@ -181,8 +180,8 @@ export class ProductDetailComponent {
.catch(() => this.removeQueryParam());
}
});
this.loadingService.hideLoading(LoadingComponentId.DETAIL_PAGE);
});
this.loadingService.hideLoading(LoadingComponentId.DETAIL_PAGE);
}
}

Expand Down

0 comments on commit 3192654

Please sign in to comment.