fix: hide pagination if table empty and add optional chaining operator to fix invalid imports

This commit is contained in:
Scott Wilson
2024-09-19 19:28:09 -07:00
parent bc74c44f97
commit 0a1f25a659
5 changed files with 5 additions and 5 deletions
@@ -358,7 +358,7 @@ export const SecretMainPage = () => {
{!canReadSecret && folders?.length === 0 && <PermissionDeniedBanner />}
</div>
</div>
{!isDetailsLoading && (
{!isDetailsLoading && totalCount > 0 && (
<Pagination
startAdornment={
<SecretTableResourceCount