mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Show hide/show chat instead of toggle in user menu. Closes #2454
This commit is contained in:
parent
8eaed0fce6
commit
a2445e1fcf
@ -74,7 +74,7 @@ export const UserDropdown: FC<UserDropdownProps> = ({ username: defaultUsername
|
|||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
{appState.chatAvailable && (
|
{appState.chatAvailable && (
|
||||||
<Menu.Item key="3" icon={<MessageOutlined />} onClick={() => toggleChatVisibility()}>
|
<Menu.Item key="3" icon={<MessageOutlined />} onClick={() => toggleChatVisibility()}>
|
||||||
Toggle chat
|
{chatToggleVisible ? 'Hide Chat' : 'Show Chat'}
|
||||||
</Menu.Item>
|
</Menu.Item>
|
||||||
)}
|
)}
|
||||||
</Menu>
|
</Menu>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user