Reset on change

This commit is contained in:
Adria Navarro 2025-02-20 13:21:11 +01:00
parent 6b2e87c0f3
commit 323238902a
1 changed files with 5 additions and 0 deletions

View File

@ -74,6 +74,11 @@
) )
}) })
function onModeChange(_mode: BindingMode) {
selectedCategory = null
}
$: onModeChange(mode)
const getFilteredSnippets = ( const getFilteredSnippets = (
mode: BindingMode, mode: BindingMode,
enableSnippets: boolean, enableSnippets: boolean,