We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5ceeb0 commit 5982182Copy full SHA for 5982182
src/components/VueCommand.vue
@@ -310,7 +310,9 @@ const autoHistoryPosition = () => {
310
311
// Parses the query, looks for a user given command and appends the resulting
312
// component to the history
313
-const dispatch = async query => {
+const dispatch = async () => {
314
+ const query = local.query
315
+
316
// An empty query is an empty string
317
if (isEmpty(query)) {
318
appendToHistory(createQuery())
src/components/VueCommandQuery.vue
@@ -166,7 +166,7 @@ const showDelayedHelp = () => {
166
// Deactivates this query and dispatches it to execute the command
167
const submit = () => {
168
isOutdated.value = true
169
- dispatch(query.value)
+ dispatch()
170
}
171
172
// Apply given cursor position to actual cursor position
0 commit comments