mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 15:28:42 +00:00
fix ui for env overview empty screen
This commit is contained in:
@@ -325,7 +325,7 @@ export const SecretOverviewPage = () => {
|
|||||||
className="bg-mineshaft-700"
|
className="bg-mineshaft-700"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{isTableEmpty && (
|
{isTableEmpty && !isTableLoading && (
|
||||||
<Tr>
|
<Tr>
|
||||||
<Td colSpan={userAvailableEnvs.length + 1}>
|
<Td colSpan={userAvailableEnvs.length + 1}>
|
||||||
<EmptyState title="Let's add some secrets" icon={faFolderBlank} iconSize="3x">
|
<EmptyState title="Let's add some secrets" icon={faFolderBlank} iconSize="3x">
|
||||||
@@ -335,7 +335,7 @@ export const SecretOverviewPage = () => {
|
|||||||
query: { id: workspaceId, env: userAvailableEnvs?.[0]?.slug }
|
query: { id: workspaceId, env: userAvailableEnvs?.[0]?.slug }
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Button className="mt-2 p-1">Go to {userAvailableEnvs?.[0]?.name}</Button>
|
<Button className="mt-4" variant="outline_bg" colorSchema="primary" size="md">Go to {userAvailableEnvs?.[0]?.name}</Button>
|
||||||
</Link>
|
</Link>
|
||||||
</EmptyState>
|
</EmptyState>
|
||||||
</Td>
|
</Td>
|
||||||
|
|||||||
Reference in New Issue
Block a user