mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: add crisp chat with us option in cmdk (#570)
This commit is contained in:
parent
e07ffc3a46
commit
c60b152a7c
@ -6,9 +6,9 @@ import useSWR, { mutate } from "swr";
|
|||||||
import {
|
import {
|
||||||
ArrowRightIcon,
|
ArrowRightIcon,
|
||||||
ChartBarIcon,
|
ChartBarIcon,
|
||||||
|
ChatBubbleOvalLeftEllipsisIcon,
|
||||||
ClipboardIcon,
|
ClipboardIcon,
|
||||||
FolderPlusIcon,
|
FolderPlusIcon,
|
||||||
InboxIcon,
|
|
||||||
MagnifyingGlassIcon,
|
MagnifyingGlassIcon,
|
||||||
Squares2X2Icon,
|
Squares2X2Icon,
|
||||||
TrashIcon,
|
TrashIcon,
|
||||||
@ -756,14 +756,14 @@ export const CommandPalette: React.FC = () => {
|
|||||||
<Command.Item
|
<Command.Item
|
||||||
onSelect={() => {
|
onSelect={() => {
|
||||||
setIsPaletteOpen(false);
|
setIsPaletteOpen(false);
|
||||||
window.open("mailto:hello@plane.so", "_blank");
|
(window as any).$crisp.push(["do", "chat:open"]);
|
||||||
}}
|
}}
|
||||||
className="focus:bg-slate-200 focus:outline-none"
|
className="focus:bg-slate-200 focus:outline-none"
|
||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
>
|
>
|
||||||
<div className="flex items-center gap-2 text-slate-700">
|
<div className="flex items-center gap-2 text-slate-700">
|
||||||
<InboxIcon className="h-4 w-4" />
|
<ChatBubbleOvalLeftEllipsisIcon className="h-4 w-4" />
|
||||||
Email us
|
Chat with us
|
||||||
</div>
|
</div>
|
||||||
</Command.Item>
|
</Command.Item>
|
||||||
</Command.Group>
|
</Command.Group>
|
||||||
|
Loading…
Reference in New Issue
Block a user