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
Browse files Browse the repository at this point in the history
  • Loading branch information
anilsingha-eGov committed Apr 25, 2024
1 parent 800fff9 commit 7c2778a
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 7c2778a

Please sign in to comment.