Skip to content

Commit

Permalink
Merge branch 'FEATURE/HCMPRE-1709' of https://github.com/egovernments…
Browse files Browse the repository at this point in the history
…/DIGIT-Frontend into FEATURE/HCMPRE-1709
  • Loading branch information
abishekTa-egov committed Dec 31, 2024
2 parents df7873b + 8af4357 commit 28c580f
Show file tree
Hide file tree
Showing 6 changed files with 121 additions and 727 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ export const useProductList = (tenantId,projectType) => {
config: {
enabled: true,
select: (data) => {

if (projectType === "CO-DEL") {
return data?.ProductVariant;
}
const filteredData = data?.ProductVariant?.filter(item =>
item.additionalFields?.fields?.some(field => field.key === "projectType" && field.value === projectType)
);
Expand Down
Loading

0 comments on commit 28c580f

Please sign in to comment.