From 976f9e3d74d476f61c890e4e57c630c9022abf14 Mon Sep 17 00:00:00 2001 From: fujie Date: Mon, 16 Mar 2026 14:38:55 +0800 Subject: [PATCH] fix: sync type filter with selected plugins --- plugins/tools/batch-install-plugins/batch_install_plugins.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/tools/batch-install-plugins/batch_install_plugins.py b/plugins/tools/batch-install-plugins/batch_install_plugins.py index d291493..2004419 100644 --- a/plugins/tools/batch-install-plugins/batch_install_plugins.py +++ b/plugins/tools/batch-install-plugins/batch_install_plugins.py @@ -1061,6 +1061,8 @@ def _build_selection_dialog_js( " button.addEventListener('click', () => {", " const pluginType = button.getAttribute('data-plugin-type') || '';", " activeFilter = activeFilter === pluginType ? '' : pluginType;", + " selected.clear();", + " getVisibleOptions().forEach((item) => selected.add(item.id));", " renderList();", " });", " });",