fix: update topics listing UI (#317)

* fix: update topics listing UI

* test: update archived topics test case

* style: remove topic list last divider
This commit is contained in:
Awais Ansari
2022-10-07 14:32:00 +05:00
committed by GitHub
parent 150f80412e
commit b5ed63c2ed
10 changed files with 225 additions and 98 deletions

View File

@@ -74,9 +74,14 @@ function PostsView() {
return (
<div className="discussion-posts d-flex flex-column h-100">
{
searchString && <SearchInfo count={resultsFound} text={searchString} loadingStatus={loadingStatus} onClear={() => dispatch(setSearchQuery(''))} />
}
{searchString && (
<SearchInfo
count={resultsFound}
text={searchString}
loadingStatus={loadingStatus}
onClear={() => dispatch(setSearchQuery(''))}
/>
)}
<PostFilterBar />
<div className="border-bottom border-light-400" />
<div className="list-group list-group-flush flex-fill" role="list" onKeyDown={e => handleKeyDown(e)}>