Hide chat button on mobile when chat is disabled (#3616)
This commit is contained in:
@@ -354,7 +354,7 @@ export const Content: FC = () => {
|
|||||||
handleClose={() => setShowChatModal(false)}
|
handleClose={() => setShowChatModal(false)}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{isMobile && isChatAvailable && (
|
{isMobile && isChatAvailable && !chatDisabled && (
|
||||||
<Button
|
<Button
|
||||||
id="mobile-chat-button"
|
id="mobile-chat-button"
|
||||||
type="primary"
|
type="primary"
|
||||||
|
|||||||
Reference in New Issue
Block a user