Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
ISTE-20: Fixed count not reflecting ( #779 )
Browse files Browse the repository at this point in the history
ISTE-20: Fixed count not reflecting
  • Loading branch information
anilsingha-eGov authored Apr 25, 2024
2 parents 800fff9 + 7c2778a commit 7421dad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const HRMSCard = () => {
const tenantId = Digit.ULBService.getCurrentTenantId();
let roles = STATE_ADMIN
? { roles: "DIV_ADMIN, HRMS_ADMIN", isStateLevelSearch: true }
: { roles: "SYSTEM, GP_ADMIN, COLLECTION_OPERATOR, PROFILE_UPDATE, DASHBOAD_VIEWER", isStateLevelSearch: false };
: { roles: "SYSTEM, GP_ADMIN, COLLECTION_OPERATOR, PROFILE_UPDATE, DASHBOAD_VIEWER, SARPANCH, REVENUE_COLLECTOR, SECRETARY", isStateLevelSearch: false };
const { isLoading, isError, error, data, ...rest } = Digit.Hooks.hrms.useHRMSCount(tenantId, roles);

const moduleForSomeDIVAdmin =
Expand Down

0 comments on commit 7421dad

Please sign in to comment.