tui: fix disabled commands from appearing in slash autocomplete

This commit is contained in:
Dax Raad
2026-02-08 18:44:12 -05:00
parent 4cc9104942
commit 2fef02f487

View File

@@ -83,6 +83,7 @@ function init() {
},
slashes() {
return visibleOptions().flatMap((option) => {
if (option.disabled) return []
const slash = option.slash
if (!slash) return []
return {