mirror of
https://github.com/penpot/penpot.git
synced 2025-04-06 20:11:29 -05:00
🐛 Fix user unread comments appear in every workspace (#5786)
This commit is contained in:
parent
518ba0ebe7
commit
00b0a59868
1 changed files with 4 additions and 0 deletions
|
@ -404,6 +404,10 @@
|
|||
(defn retrieve-comment-threads
|
||||
[file-id]
|
||||
(ptk/reify ::retrieve-comment-threads
|
||||
ptk/UpdateEvent
|
||||
(update [_ state]
|
||||
(dissoc state :comment-threads))
|
||||
|
||||
ptk/WatchEvent
|
||||
(watch [_ state _]
|
||||
(let [share-id (-> state :viewer-local :share-id)]
|
||||
|
|
Loading…
Add table
Reference in a new issue