enhance: run custom queries immediately if editing in a query component

This commit is contained in:
Tienson Qin
2022-03-30 13:53:07 +08:00
parent daf0b6174e
commit e848dbf9f8
3 changed files with 12 additions and 3 deletions

View File

@@ -1636,3 +1636,9 @@
(defn get-modal-id
[]
(:modal/id @state))
(defn edit-in-query-component
[]
(and (editing?)
;; config
(:custom-query? (last (get-editor-args)))))