improve performance for drag && drop

This commit is contained in:
Tienson Qin
2022-03-30 21:43:39 +08:00
parent 096c69ffb8
commit c46c68cd14
3 changed files with 49 additions and 29 deletions

View File

@@ -310,7 +310,6 @@
(when (or query query-fn)
(try
(let [f #(execute-query! repo-url db k tx cache)]
(f)
;; Detects whether user is editing in a custom query, if so, execute the query immediately
(if (and custom?
;; modifying during cards review need to be executed immediately