mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-20 17:30:46 +00:00
Don't show Load More if nothing to show
This commit is contained in:
@@ -1634,6 +1634,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
|
|||||||
size={tableContainerSizePx}
|
size={tableContainerSizePx}
|
||||||
columnHeaders={columnHeaders}
|
columnHeaders={columnHeaders}
|
||||||
/>
|
/>
|
||||||
|
{tableItems.length > 0 && (
|
||||||
<a
|
<a
|
||||||
className="loadMore"
|
className="loadMore"
|
||||||
role="button"
|
role="button"
|
||||||
@@ -1642,6 +1643,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
|
|||||||
>
|
>
|
||||||
Load more
|
Load more
|
||||||
</a>
|
</a>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style={{ minWidth: "20%", width: "100%" }}>
|
<div style={{ minWidth: "20%", width: "100%" }}>
|
||||||
|
|||||||
Reference in New Issue
Block a user