fix: whiteboard crash issue

pull/6850/head
Peng Xiao 2022-09-28 23:54:26 +08:00
parent 2ffbaa3fa1
commit 562417baf3
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@
(fn []
(when (and tln name)
(when-let [^js api (gobj/get tln "api")]
(when (parse-uuid block-id)
(when (and block-id (parse-uuid block-id))
(. api selectShapes block-id)
(. api zoomToSelection))))
nil) [name block-id tln])