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.

bug: fix workspace switching

Andrej Acevskicbe44462a822
diff --git a/apps/web/src/components/workspace-switcher.tsx b/apps/web/src/components/workspace-switcher.tsx
index fc8dbf52f..3352f8d04 100644
--- a/apps/web/src/components/workspace-switcher.tsx
+++ b/apps/web/src/components/workspace-switcher.tsx
@@ -161,7 +161,9 @@ export function WorkspaceSwitcher() {
</span>
</div>
<span className="text-foreground/90 flex-1 text-left">
- {ws.name}
+ {isSwitching && ws.id === workspace?.id
+ ? "Switching..."
+ : ws.name}
</span>
<span className="text-xs text-muted-foreground/50">
{getModifierKeyText()} {index > 8 ? "0" : index + 1}