fix: event is not being captured sometimes

This commit is contained in:
Peng Xiao
2022-08-09 11:06:06 +08:00
parent 1d7374ba86
commit 2308a5d120
3 changed files with 25 additions and 16 deletions

View File

@@ -253,7 +253,7 @@
(nil? result)
all?)
[]
[{:type :new-page}])
[{:type :new-page}]) ;; todo: add new whiteboard
result (cond
config/publishing?
(concat pages files blocks)