From b9ab6d3fd4a67da00e03320a3be2dd99f83b7bd5 Mon Sep 17 00:00:00 2001 From: Yunus M Date: Fri, 6 Sep 2024 11:21:07 +0530 Subject: [PATCH] feat: show add credit card chat icon only to logged in users (#5863) --- frontend/src/container/AppLayout/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/container/AppLayout/index.tsx b/frontend/src/container/AppLayout/index.tsx index 85a58aac99..60b26b8db2 100644 --- a/frontend/src/container/AppLayout/index.tsx +++ b/frontend/src/container/AppLayout/index.tsx @@ -78,6 +78,7 @@ function AppLayout(props: AppLayoutProps): JSX.Element { const isCloudUserVal = isCloudUser(); const showAddCreditCardModal = + isLoggedIn && isChatSupportEnabled && isCloudUserVal && !isPremiumChatSupportEnabled &&