Skip to content

Commit

Permalink
fix: always display search bar on qna (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
billsomen authored Oct 7, 2021
1 parent c70d4ce commit 0220da2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/studio-ui/src/web/views/Qna/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ const QnAList: FC<Props> = props => {
tabChange={setCurrentTab}
tabs={tabs}
buttons={buttons}
rightContent={items.length > 1 ? toolBarRightContent : null}
rightContent={toolBarRightContent}
/>
<div className={cx(style.content, { [style.empty]: !items.length && !highlighted })}>
{highlighted && (
Expand All @@ -266,7 +266,6 @@ const QnAList: FC<Props> = props => {
defaultLanguage={defaultLanguage}
deleteQnA={() => {
dispatch({ type: 'deleteQnA', data: { index: 'highlighted', bp } })

window.history.pushState(
window.history.state,
'',
Expand Down

0 comments on commit 0220da2

Please sign in to comment.