fix: sync type filter with selected plugins
This commit is contained in:
@@ -1061,6 +1061,8 @@ def _build_selection_dialog_js(
|
|||||||
" button.addEventListener('click', () => {",
|
" button.addEventListener('click', () => {",
|
||||||
" const pluginType = button.getAttribute('data-plugin-type') || '';",
|
" const pluginType = button.getAttribute('data-plugin-type') || '';",
|
||||||
" activeFilter = activeFilter === pluginType ? '' : pluginType;",
|
" activeFilter = activeFilter === pluginType ? '' : pluginType;",
|
||||||
|
" selected.clear();",
|
||||||
|
" getVisibleOptions().forEach((item) => selected.add(item.id));",
|
||||||
" renderList();",
|
" renderList();",
|
||||||
" });",
|
" });",
|
||||||
" });",
|
" });",
|
||||||
|
|||||||
Reference in New Issue
Block a user