1
0
Эх сурвалжийг харах

fix(editor): missing outliner op for the create page tx

charlie 1 жил өмнө
parent
commit
4df4ff48be

+ 2 - 1
src/main/frontend/worker/handler/page.cljs

@@ -128,7 +128,8 @@
                                  page-txs
                                  first-block-tx)]
                    (when (seq txs)
-                     (ldb/transact! conn txs (cond-> {:persist-op? persist-op?}
+                     (ldb/transact! conn txs (cond-> {:persist-op? persist-op?
+                                                      :outliner-op :create-page}
                                                today-journal?
                                                (assoc :create-today-journal? true
                                                       :today-journal-name page-name))))))] ;; FIXME: prettier validation