Browse Source

Show pages ahead of commands

Tienson Qin 2 years ago
parent
commit
a5435b7db6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/frontend/components/cmdk.cljs

+ 2 - 2
src/main/frontend/components/cmdk.cljs

@@ -95,8 +95,8 @@
                   (when-not page-exists?
                     ["Create"         :create         (create-items input)])]
                  (->>
-                  [["Commands"       :commands       (visible-items :commands)]
-                   ["Pages"          :pages          (visible-items :pages)]
+                  [["Pages"          :pages          (visible-items :pages)]
+                   ["Commands"       :commands       (visible-items :commands)]
                    (when-not page-exists?
                      ["Create"         :create         (create-items input)])
                    ["Current page"   :current-page   (visible-items :current-page)]