Skip to content

Commit

Permalink
Merge pull request #236 from christianvogt/topic-menu
Browse files Browse the repository at this point in the history
show help topic menu when there is more than one help topic
  • Loading branch information
dlabaj authored Apr 6, 2023
2 parents 6e7683e + 5677e19 commit 49ca562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/module/src/HelpTopicPanelContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const HelpTopicPanelContent: React.FC<HelpTopicPanelContentProps> = ({
};

const menuItems =
filteredHelpTopics.length > 0 &&
filteredHelpTopics.length > 1 &&
filteredHelpTopics.map((topic) => {
return (
<OptionsMenuItem key={topic.name} onSelect={onSelectHelpTopic} id={topic.name}>
Expand Down

0 comments on commit 49ca562

Please sign in to comment.