Commit 3845eb27 authored by timel's avatar timel

fix: show pagination on command

parent b183adc7
Pipeline #23045 passed with stages
in 17 minutes and 51 seconds
...@@ -458,6 +458,7 @@ const SearchResults: React.FC<{ ...@@ -458,6 +458,7 @@ const SearchResults: React.FC<{
/> />
))} ))}
</div> </div>
{results.length > itemsPerPage && (
<div style={{ textAlign: "center", padding: "10px 0 20px" }}> <div style={{ textAlign: "center", padding: "10px 0 20px" }}>
<Pagination <Pagination
current={currentPage} current={currentPage}
...@@ -472,6 +473,7 @@ const SearchResults: React.FC<{ ...@@ -472,6 +473,7 @@ const SearchResults: React.FC<{
hideOnSinglePage hideOnSinglePage
/> />
</div> </div>
)}
</> </>
); );
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment