mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 10:45:58 +00:00
fix: hide pagination if table empty and add optional chaining operator to fix invalid imports
This commit is contained in:
@@ -358,7 +358,7 @@ export const SecretMainPage = () => {
|
||||
{!canReadSecret && folders?.length === 0 && <PermissionDeniedBanner />}
|
||||
</div>
|
||||
</div>
|
||||
{!isDetailsLoading && (
|
||||
{!isDetailsLoading && totalCount > 0 && (
|
||||
<Pagination
|
||||
startAdornment={
|
||||
<SecretTableResourceCount
|
||||
|
||||
Reference in New Issue
Block a user