From df9f869a2567ebc0e02afad633b7efaacf5c13e7 Mon Sep 17 00:00:00 2001 From: leanneeliatra Date: Fri, 2 Jun 2023 11:04:45 +0100 Subject: [PATCH] put commented code to original state Signed-off-by: leanneeliatra --- public/apps/account/account-nav-button.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/apps/account/account-nav-button.tsx b/public/apps/account/account-nav-button.tsx index eb62430e6..4b8ef38f3 100644 --- a/public/apps/account/account-nav-button.tsx +++ b/public/apps/account/account-nav-button.tsx @@ -73,9 +73,9 @@ export function AccountNavButton(props: { React.useEffect(() => { const fetchData = async () => { try { - // setIsMultiTenancyEnabled( - // (await getDashboardsInfo(props.coreStart.http)).multitenancy_enabled - // ); + setIsMultiTenancyEnabled( + (await getDashboardsInfo(props.coreStart.http)).multitenancy_enabled + ); } catch (e) { // TODO: switch to better error display. console.error(e);