Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix: showing empty state for workspaces

Andrejcdf8b119092c
diff --git a/apps/web/src/routes/dashboard.tsx b/apps/web/src/routes/dashboard.tsx
index dd8d904cc..e6d8ab735 100644
--- a/apps/web/src/routes/dashboard.tsx
+++ b/apps/web/src/routes/dashboard.tsx
@@ -31,7 +31,7 @@ function DashboardIndexRouteComponent() {
const hasNoWorkspacesAndNoSelectedWorkspace =
workspaces?.length === 0 && !workspace;
- const isOnWorkspaceRoute = location.includes("/dashboard/workspace");
+ const isOnWorkspaceRoute = location === "/dashboard";
return (
<>