Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
patch bug when imports don't show with no secrets
Maidul Islam33554f4057e2
diff --git a/frontend/src/views/DashboardPage/DashboardPage.tsx b/frontend/src/views/DashboardPage/DashboardPage.tsxindex 1cf24dcb4e..fbbb66053c 100644--- a/frontend/src/views/DashboardPage/DashboardPage.tsx+++ b/frontend/src/views/DashboardPage/DashboardPage.tsx@@ -676,7 +676,8 @@ export const DashboardPage = ({ envFromTop }: { envFromTop: string }) => {const isSnapshotSecretEmtpy =isRollbackMode && !isSnapshotSecretsLoading && !snapshotSecret?.secrets?.length;const isSecretEmpty = (!isRollbackMode && isDashboardSecretEmpty) || isSnapshotSecretEmtpy;- const isEmptyPage = isFoldersEmpty && isSecretEmpty;+ const isSecretImportEmpty = !importedSecrets?.length;+ const isEmptyPage = isFoldersEmpty && isSecretEmpty && isSecretImportEmpty;if (isSecretsLoading || isEnvListLoading) {return (