mirror of
https://github.com/penpot/penpot.git
synced 2025-06-01 20:21:39 +02:00
🐛 Fix permissions when moving comments
This commit is contained in:
parent
35c1008b37
commit
8a33a63f91
2 changed files with 6 additions and 2 deletions
|
@ -8,6 +8,7 @@
|
|||
(:require
|
||||
[app.common.colors :as clr]
|
||||
[app.common.data.macros :as dm]
|
||||
[app.main.data.comments :as dcm]
|
||||
[app.main.data.messages :as msg]
|
||||
[app.main.data.workspace :as dw]
|
||||
[app.main.data.workspace.persistence :as dwp]
|
||||
|
@ -127,6 +128,7 @@
|
|||
|
||||
(mf/with-effect [project-id file-id]
|
||||
(st/emit! (dw/initialize-file project-id file-id))
|
||||
(st/emit! (dcm/retrieve-comment-threads file-id))
|
||||
(fn []
|
||||
(st/emit! ::dwp/force-persist
|
||||
(dw/finalize-file project-id file-id))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue