mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 09:06:11 +02:00
🐛 Fix problem with comments when user left the team
This commit is contained in:
parent
dd9f637f02
commit
647beec1e8
2 changed files with 2 additions and 1 deletions
|
@ -282,7 +282,7 @@
|
|||
(fetched [[users comments] state]
|
||||
(let [state (-> state
|
||||
(assoc :comment-threads (d/index-by :id comments))
|
||||
(assoc :current-file-comments-users (d/index-by :id users)))]
|
||||
(update :current-file-comments-users merge (d/index-by :id users)))]
|
||||
(reduce set-comment-threds state comments)))]
|
||||
|
||||
(ptk/reify ::retrieve-comment-threads
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue