fix: add show-document-compare to preload receive channel whitelist

The IPC channel was missing from ALLOWED_RECEIVE_CHANNELS in preload.js,
causing the useBridgeNativeMenu listener to be silently blocked.
This commit is contained in:
2026-06-11 07:37:48 +05:30
parent cf6b6817b9
commit 9ef5317d71
+3
View File
@@ -233,6 +233,9 @@ const ALLOWED_RECEIVE_CHANNELS = [
// Batch converter // Batch converter
'show-batch-converter', 'show-batch-converter',
// Document compare
'show-document-compare',
// v4 menu-triggered events // v4 menu-triggered events
'load-template-menu', 'load-template-menu',
'toggle-sidebar-panel', 'toggle-sidebar-panel',