mirror of
https://github.com/wassname/talk.git
synced 2026-10-02 12:50:49 +08:00
Keep question box visible when comment stream is closed
This commit is contained in:
1 parent
d0eca26d5b
commit
fd7114ab2a
1 file changed
+8
@@ -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>
|
||||
)}
|
||||
|
||||
|
||||
Reference in new issue
Block a user