mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-01 21:56:40 +00:00
Don't show Load More if nothing to show
This commit is contained in:
parent
b2c05fa784
commit
13462646f6
@ -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%" }}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user