Browse Source

fix: tweaked /Query ux so that users can see query builder immediately

Keyboard users can still type query beforehand and then type `/Query`.
Part of LOG-3249
Gabriel Horner 1 year ago
parent
commit
3d7269e7b4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/commands.cljs

+ 1 - 1
src/main/frontend/commands.cljs

@@ -142,7 +142,7 @@
   []
   []
   [[:editor/input "" {:last-pattern command-trigger}]
   [[:editor/input "" {:last-pattern command-trigger}]
    [:editor/set-property :block/tags :logseq.class/Query]
    [:editor/set-property :block/tags :logseq.class/Query]
-   [:editor/set-property :logseq.property/query ""]])
+   [:editor/exit]])
 
 
 (defn file-based-query
 (defn file-based-query
   []
   []