Skip to content

Commit

Permalink
Merge pull request #2760 from daostack/dev
Browse files Browse the repository at this point in the history
Fix plus button
  • Loading branch information
MeyerPV authored Oct 30, 2024
2 parents 72914ef + 1c1bc96 commit a8aa483
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ const NewStreamButton: FC<NewStreamButtonProps> = (props) => {
return null;
}

if(items.length === 2) {
if (items.length === 2 || (items.length === 1 && items[0].id === CommonAction.NewDiscussion)) {
return (
<ButtonIcon className={styles.buttonIcon} onClick={onNewDiscussion}>
<PlusIcon className={styles.icon} />
</ButtonIcon>
<PlusIcon className={styles.icon} />
</ButtonIcon>
)
}

Expand Down

0 comments on commit a8aa483

Please sign in to comment.