tui: fix disabled commands from appearing in slash autocomplete

pull/12755/head
Dax Raad 2026-02-08 18:44:12 -05:00
parent 4cc9104942
commit 2fef02f487
1 changed files with 1 additions and 0 deletions

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 {