mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 10:21:38 +02:00
🐛 Fix comment loading crash
This commit is contained in:
parent
40fe6369cb
commit
1a7d60bb88
3 changed files with 51 additions and 0 deletions
|
@ -105,6 +105,7 @@
|
|||
workspace-editor-state (mf/deref refs/workspace-editor-state)
|
||||
workspace-v2-editor-state (mf/deref refs/workspace-v2-editor-state)
|
||||
|
||||
file-id (get file :id)
|
||||
objects (get page :objects)
|
||||
page-id (get page :id)
|
||||
background (get page :background clr/canvas)
|
||||
|
@ -341,6 +342,7 @@
|
|||
(when show-comments?
|
||||
[:> comments/comments-layer* {:vbox vbox
|
||||
:page-id page-id
|
||||
:file-id file-id
|
||||
:vport vport
|
||||
:zoom zoom}])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue