Skip to content

Commit

Permalink
Update health/micro-ui/web/micro-ui-internals/packages/modules/campai…
Browse files Browse the repository at this point in the history
…gn-manager/src/hooks/useBoundaryHome.js

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
jagankumar-egov and coderabbitai[bot] authored Nov 11, 2024
1 parent 64ed562 commit 4502bb6
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ const useBoundaryHome = ({ screenType = "campaign", defaultHierarchyType = "", h

const employeeDetails = (boundaryConfig?.department?.length > 0 && (await fetchEmployeeDetails(userName, tenantId))) || null;
const hierarchyName=hierarchyType || boundaryConfig?.hierarchy;
// hierarchyName="test008";
const defaultHierarchyName=defaultHierarchyType || final?.["default"]?.hierarchy;
// const defaultHierarchyName="DEFAULT-BOUNDARY-DEMO1";
const boundaryData = await fetchBoundaryHierarchy(hierarchyName, tenantId);
const defaultBoundaryData = await fetchBoundaryHierarchy(defaultHierarchyName, tenantId);
boundaryData && generateFile(hierarchyType || boundaryConfig?.hierarchy, tenantId);
Expand Down

0 comments on commit 4502bb6

Please sign in to comment.