Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

[WEB-843] fix: `chat with us` option not woking in command k modal. (#4080)

Prateek Shouryaf1530688f8b3
diff --git a/web/components/command-palette/actions/help-actions.tsx b/web/components/command-palette/actions/help-actions.tsx
index 10c7675d36..539ec00aa5 100644
--- a/web/components/command-palette/actions/help-actions.tsx
+++ b/web/components/command-palette/actions/help-actions.tsx
@@ -69,7 +69,9 @@ export const CommandPaletteHelpActions: React.FC<Props> = (props) => {
<Command.Item
onSelect={() => {
closePalette();
- (window as any)?.$crisp.push(["do", "chat:open"]);
+ if (window) {
+ window.$crisp.push(["do", "chat:show"]);
+ }
}}
className="focus:outline-none"
>