From 0220da24965daa3b1e35a4599e7d14e82229a4dc Mon Sep 17 00:00:00 2001 From: billsomen Date: Thu, 7 Oct 2021 16:21:12 -0400 Subject: [PATCH] fix: always display search bar on qna (#136) --- packages/studio-ui/src/web/views/Qna/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/studio-ui/src/web/views/Qna/index.tsx b/packages/studio-ui/src/web/views/Qna/index.tsx index 2af78afc..f44ee9b9 100644 --- a/packages/studio-ui/src/web/views/Qna/index.tsx +++ b/packages/studio-ui/src/web/views/Qna/index.tsx @@ -245,7 +245,7 @@ const QnAList: FC = props => { tabChange={setCurrentTab} tabs={tabs} buttons={buttons} - rightContent={items.length > 1 ? toolBarRightContent : null} + rightContent={toolBarRightContent} />
{highlighted && ( @@ -266,7 +266,6 @@ const QnAList: FC = props => { defaultLanguage={defaultLanguage} deleteQnA={() => { dispatch({ type: 'deleteQnA', data: { index: 'highlighted', bp } }) - window.history.pushState( window.history.state, '',