enhance(ux): open tag page in sidebar after creating in cmdk

This commit is contained in:
Tienson Qin
2025-05-04 16:00:13 +08:00
parent 221e49581b
commit 230a512ccf
2 changed files with 1 additions and 7 deletions

View File

@@ -518,7 +518,7 @@
create-page? (page-handler/<create! @!input {:redirect? true}))]
(shui/dialog-close! :ls-dialog-cmdk)
(when (and create-class? result)
(state/pub-event! [:class/configure result])))))
(state/sidebar-add-block! (state/get-current-repo) (:db/id result) :block)))))
(defn- get-filter-user-input
[input]