From da23c35e8dba2634ce48edffe5aed7d9a6e6bb17 Mon Sep 17 00:00:00 2001 From: Gero Posmyk-Leinemann Date: Mon, 27 Nov 2023 12:32:12 +0000 Subject: [PATCH] [dashboard] Fix: Show inactive workspaces if there are some --- components/dashboard/src/workspaces/Workspaces.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/dashboard/src/workspaces/Workspaces.tsx b/components/dashboard/src/workspaces/Workspaces.tsx index e19305245b7f49..4e14c8c318cce3 100644 --- a/components/dashboard/src/workspaces/Workspaces.tsx +++ b/components/dashboard/src/workspaces/Workspaces.tsx @@ -106,7 +106,7 @@ const WorkspacesPage: FunctionComponent = () => { return ; })} {filteredActiveWorkspaces.length > 0 &&
} - {filteredActiveWorkspaces.length > 0 && ( + {filteredInactiveWorkspaces.length > 0 && (
setShowInactive(!showInactive)}