From 79daad4db321f8ca76c9db503f15e951c640e5fb Mon Sep 17 00:00:00 2001 From: lawvs <18554747+lawvs@users.noreply.github.com> Date: Fri, 24 Jan 2025 11:51:13 +0800 Subject: [PATCH] fix: ignore customize toolbar in EntryItem context menu --- .../src/modules/entry-column/layouts/EntryItemWrapper.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/renderer/src/modules/entry-column/layouts/EntryItemWrapper.tsx b/apps/renderer/src/modules/entry-column/layouts/EntryItemWrapper.tsx index 66041dc2f9..5465f1cce3 100644 --- a/apps/renderer/src/modules/entry-column/layouts/EntryItemWrapper.tsx +++ b/apps/renderer/src/modules/entry-column/layouts/EntryItemWrapper.tsx @@ -104,6 +104,7 @@ export const EntryItemWrapper: FC< COMMAND_ID.entry.viewSourceContent, COMMAND_ID.entry.toggleAISummary, COMMAND_ID.entry.toggleAITranslation, + COMMAND_ID.settings.customizeToolbar, ] as string[] ).includes(item.id), )