mirror of
https://github.com/infinilabs/coco-app.git
synced 2026-09-01 19:51:52 +02:00
fix: fix shortcut issue in windows context menu (#804)
* fix: fix shortcut issue in windows context menu * docs: update changelog
This commit is contained in:
@@ -34,6 +34,7 @@ Information about release notes of Coco Server is provided here.
|
||||
- fix: increase read_timeout for HTTP streaming stability #798
|
||||
- fix: enter key problem #794
|
||||
- fix: fix selection issue after renaming #800
|
||||
- fix: fix shortcut issue in windows context menu #804
|
||||
|
||||
### ✈️ Improvements
|
||||
|
||||
|
||||
@@ -142,7 +142,9 @@ const ContextMenu = ({ formatUrl }: ContextMenuProps) => {
|
||||
type === "AI Assistant" ||
|
||||
id === "Extension Store",
|
||||
clickEvent() {
|
||||
copyToClipboard(formatUrl && formatUrl(selectedSearchContent) || url);
|
||||
copyToClipboard(
|
||||
(formatUrl && formatUrl(selectedSearchContent)) || url
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -169,7 +171,7 @@ const ContextMenu = ({ formatUrl }: ContextMenuProps) => {
|
||||
name: t("search.contextMenu.copyQuestionAndAnswer"),
|
||||
icon: <Copy />,
|
||||
keys: isMac ? ["⌘", "L"] : ["Ctrl", "L"],
|
||||
shortcut: isMac ? "meta.l" : "ctrl+l",
|
||||
shortcut: isMac ? "meta.l" : "ctrl.l",
|
||||
hide: category !== "Calculator",
|
||||
clickEvent() {
|
||||
copyToClipboard(`${query.value} = ${result.value}`);
|
||||
|
||||
Reference in New Issue
Block a user