mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 21:28:18 +00:00
updated message if search results not found
This commit is contained in:
@@ -608,7 +608,15 @@ export const SecretOverviewPage = () => {
|
|||||||
{isTableEmpty && !isTableLoading && visibleEnvs.length > 0 && (
|
{isTableEmpty && !isTableLoading && visibleEnvs.length > 0 && (
|
||||||
<Tr>
|
<Tr>
|
||||||
<Td colSpan={visibleEnvs.length + 1}>
|
<Td colSpan={visibleEnvs.length + 1}>
|
||||||
<EmptyState title="Let's add some secrets" icon={faFolderBlank} iconSize="3x">
|
<EmptyState
|
||||||
|
title={
|
||||||
|
searchFilter
|
||||||
|
? "No secret found for your search, add one now"
|
||||||
|
: "Let's add some secrets"
|
||||||
|
}
|
||||||
|
icon={faFolderBlank}
|
||||||
|
iconSize="3x"
|
||||||
|
>
|
||||||
<Button
|
<Button
|
||||||
className="mt-4"
|
className="mt-4"
|
||||||
variant="outline_bg"
|
variant="outline_bg"
|
||||||
|
|||||||
Reference in New Issue
Block a user