Skip to content

Commit

Permalink
Merge pull request #2761 from daostack/staging
Browse files Browse the repository at this point in the history
Fix Plus button
  • Loading branch information
MeyerPV authored Nov 3, 2024
2 parents a44132b + a8aa483 commit ef91494
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 ef91494

Please sign in to comment.