fix(command): trim spaces
parent
8fb9739f69
commit
b4cda4338f
|
@ -60,7 +60,7 @@ const searchResult = $computed<QueryResult>(() => {
|
||||||
})
|
})
|
||||||
|
|
||||||
const result = $computed<QueryResult>(() => commandMode
|
const result = $computed<QueryResult>(() => commandMode
|
||||||
? registry.query(scopes.map(s => s.id).join('.'), input.slice(1))
|
? registry.query(scopes.map(s => s.id).join('.'), input.slice(1).trim())
|
||||||
: searchResult,
|
: searchResult,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue