fix(ui): Plugin Manager Scan circular JSON — onClick pas synthetic event lam dirsOverride (JSON.stringify event circular)

This commit is contained in:
2026-09-01 21:47:52 +07:00
parent 31f19fa537
commit be5ecf0a48
+1 -1
View File
@@ -7198,7 +7198,7 @@ const PluginManagerModal = ({ isOpen, onClose, pluginsData, onInsertInstrument }
React.createElement('div', { className: 'flex gap-2 items-center mt-2' },
React.createElement('button', {
className: 'px-4 py-2 bg-emerald-800 hover:bg-emerald-700 text-white text-xs font-semibold rounded transition flex items-center gap-1',
onClick: saveAndScanDirs
onClick: () => saveAndScanDirs()
},
React.createElement('i', { 'data-lucide': 'search', className: 'w-3 h-3' }), 'Scan'),
pmScanning && React.createElement('span', { className: 'text-[10px] text-emerald-400' }, 'Scanning...'),