Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: resolved dual filter in all view

=7f35ff119e84
diff --git a/frontend/src/pages/organization/ProjectsPage/components/MyProjectView.tsx b/frontend/src/pages/organization/ProjectsPage/components/MyProjectView.tsx
index e9eb251e9c..ea0d1d2ffd 100644
--- a/frontend/src/pages/organization/ProjectsPage/components/MyProjectView.tsx
+++ b/frontend/src/pages/organization/ProjectsPage/components/MyProjectView.tsx
@@ -356,7 +356,7 @@ export const MyProjectView = ({
<div className="text-center font-light">No projects match search...</div>
</div>
);
- } else if (filteredWorkspaces.length === 0) {
+ } else if (filteredWorkspaces.length === 0 && isTableFilteredByType) {
projectsComponents = (
<div className="mt-4 w-full rounded-md border border-mineshaft-700 bg-mineshaft-800 px-4 py-6 text-base text-mineshaft-300">
<FontAwesomeIcon
@@ -507,7 +507,7 @@ export const MyProjectView = ({
onChangePerPage={handlePerPageChange}
/>
)}
- {isWorkspaceEmpty && (
+ {isWorkspaceEmpty && !isTableFilteredByType && (
<div className="mt-4 w-full rounded-md border border-mineshaft-700 bg-mineshaft-800 px-4 py-6 text-base text-mineshaft-300">
<FontAwesomeIcon
icon={faFolderOpen}