Skip to content

Commit 2800eaf

Browse files
hotfix: empty sidepanel header menu
1 parent 33c02df commit 2800eaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docsearch-react/src/Sidepanel/SidepanelHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export const SidepanelHeader = React.memo(
138138
<h2 className="DocSearch-Sidepanel-Title">{header}</h2>
139139
</div>
140140
<div className="DocSearch-Sidepanel-Header--right">
141-
{sidepanelState !== 'conversation-history' && (
141+
{sidepanelState !== 'conversation-history' && (!newConversationDisabled || hasConversations) && (
142142
<Menu>
143143
<Menu.Trigger className="DocSearch-Action DocSearch-Sidepanel-Action-menu">
144144
<MoreVerticalIcon />

0 commit comments

Comments
 (0)