Keep question box visible when comment stream is closed

This commit is contained in:
Harrison Reid
2018-10-18 21:06:00 +11:00
parent d0eca26d5b
commit fd7114ab2a
@@ -305,6 +305,14 @@ class Stream extends React.Component {
) : (
<Markdown content={asset.settings.disableCommentingMessage} />
)}
{questionBoxEnable && (
<QuestionBox
content={asset.settings.questionBoxContent}
icon={asset.settings.questionBoxIcon}
>
<Slot fill="streamQuestionArea" passthrough={slotPassthrough} />
</QuestionBox>
)}
</div>
)}