We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05f3419 commit 7dbf8c9Copy full SHA for 7dbf8c9
src/pages/commonFeed/components/HeaderContent/components/NewStreamButton/NewStreamButton.tsx
@@ -49,11 +49,11 @@ const NewStreamButton: FC<NewStreamButtonProps> = (props) => {
49
return null;
50
}
51
52
- if(items.length === 2) {
+ if (items.length === 2 || (items.length === 1 && items[0].id === CommonAction.NewDiscussion)) {
53
return (
54
<ButtonIcon className={styles.buttonIcon} onClick={onNewDiscussion}>
55
- <PlusIcon className={styles.icon} />
56
- </ButtonIcon>
+ <PlusIcon className={styles.icon} />
+ </ButtonIcon>
57
)
58
59
0 commit comments