mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 07:41:43 -05:00
🐛 Fix problem with comment thread ignoring filters
This commit is contained in:
parent
7f93c41005
commit
69f9982d26
1 changed files with 4 additions and 3 deletions
|
@ -81,9 +81,10 @@
|
|||
|
||||
(when-let [id (:open local)]
|
||||
(when-let [thread (get threads-map id)]
|
||||
[:& cmt/thread-comments {:thread (update-position positions thread)
|
||||
:users users
|
||||
:zoom zoom}]))
|
||||
(when (seq (dcm/apply-filters local profile [thread]))
|
||||
[:& cmt/thread-comments {:thread (update-position positions thread)
|
||||
:users users
|
||||
:zoom zoom}])))
|
||||
|
||||
(when-let [draft (:comment drawing)]
|
||||
[:& cmt/draft-thread {:draft draft
|
||||
|
|
Loading…
Add table
Reference in a new issue