mirror of
https://github.com/penpot/penpot.git
synced 2025-06-22 01:27:06 +02: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
|
(defn retrieve-comment-threads
|
||||||
[file-id]
|
[file-id]
|
||||||
(ptk/reify ::retrieve-comment-threads
|
(ptk/reify ::retrieve-comment-threads
|
||||||
|
ptk/UpdateEvent
|
||||||
|
(update [_ state]
|
||||||
|
(dissoc state :comment-threads))
|
||||||
|
|
||||||
ptk/WatchEvent
|
ptk/WatchEvent
|
||||||
(watch [_ state _]
|
(watch [_ state _]
|
||||||
(let [share-id (-> state :viewer-local :share-id)]
|
(let [share-id (-> state :viewer-local :share-id)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue