From ccb02449160f63949f8ac3b9d5329f3d9e457af6 Mon Sep 17 00:00:00 2001 From: AdityaJ2305 Date: Tue, 17 Dec 2024 13:24:06 +0530 Subject: [PATCH] Fix admin access to volunteer linked facilities --- src/components/Users/LinkedFacilities.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Users/LinkedFacilities.tsx b/src/components/Users/LinkedFacilities.tsx index 110543ec391..82106d7fe6c 100644 --- a/src/components/Users/LinkedFacilities.tsx +++ b/src/components/Users/LinkedFacilities.tsx @@ -214,7 +214,7 @@ export default function LinkedFacilities({ )}
@@ -277,7 +277,7 @@ export default function LinkedFacilities({ onClick={() => handleOnClick("clear_home_facility", homeFacility) } - disabled={userData.user_type == "Volunteer"} + disabled={authUser.user_type == "Volunteer"} title={t("clear_home_facility")} aria-label={t("clear_home_facility")} >