fix: revert :block/children because it doesn't work

We need to resolve those tempids after db transacted which makes it slow
This commit is contained in:
Tienson Qin
2020-11-12 23:55:35 +08:00
parent abfb3dc12e
commit 5987cc9742
3 changed files with 30 additions and 32 deletions

View File

@@ -1315,7 +1315,7 @@
(:block/uuid child)))))])
(when ref?
(let [children (-> (db/get-block-children-unsafe repo uuid)
(let [children (-> (db/get-block-immediate-children repo uuid)
db/sort-by-pos)]
(when (seq children)
[:div.ref-children.ml-12