Hide chat button on mobile when chat is disabled (#3616)

This commit is contained in:
Aziz Rmadi
2024-03-05 23:58:17 -06:00
committed by GitHub
parent 8ec4182699
commit 45436162bd

View File

@@ -354,7 +354,7 @@ export const Content: FC = () => {
handleClose={() => setShowChatModal(false)}
/>
)}
{isMobile && isChatAvailable && (
{isMobile && isChatAvailable && !chatDisabled && (
<Button
id="mobile-chat-button"
type="primary"