mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
Merge pull request #1590 from TriliumNext/fix_543
fix(electron_context_menu): fix disabled search engine contex menu on readonly notes
This commit is contained in:
commit
dd46ffa137
@ -115,7 +115,6 @@ function setupContextMenu() {
|
||||
items.push({ title: "----" });
|
||||
|
||||
items.push({
|
||||
enabled: editFlags.canPaste,
|
||||
title: t("electron_context_menu.search_online", { term: shortenedSelection, searchEngine: searchEngineName }),
|
||||
uiIcon: "bx bx-search-alt",
|
||||
handler: () => electron.shell.openExternal(searchUrl)
|
||||
|
Loading…
x
Reference in New Issue
Block a user