From bc36404e636f7516eb527c1386c1143d19bad8eb Mon Sep 17 00:00:00 2001 From: karan Date: Thu, 29 Feb 2024 23:49:00 +0530 Subject: [PATCH] ecosystem role Signed-off-by: karan --- src/components/Ecosystem/Dashboard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Ecosystem/Dashboard.tsx b/src/components/Ecosystem/Dashboard.tsx index 80f76bfd8..c6d5c07dc 100644 --- a/src/components/Ecosystem/Dashboard.tsx +++ b/src/components/Ecosystem/Dashboard.tsx @@ -203,7 +203,7 @@ const Dashboard = () => { const checkEcosystemData = async () => { const data: ICheckEcosystem = await checkEcosystem(); - setIsEcosystemLead(Boolean(data)); + setIsEcosystemLead(data.isEcosystemLead); }; const checkEcosystemAccess = async () => { const data = await getOwnerAdminRole();