mirror of
https://github.com/penpot/penpot.git
synced 2025-05-26 01:36:13 +02: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 [id (:open local)]
|
||||||
(when-let [thread (get threads-map id)]
|
(when-let [thread (get threads-map id)]
|
||||||
[:& cmt/thread-comments {:thread (update-position positions thread)
|
(when (seq (dcm/apply-filters local profile [thread]))
|
||||||
:users users
|
[:& cmt/thread-comments {:thread (update-position positions thread)
|
||||||
:zoom zoom}]))
|
:users users
|
||||||
|
:zoom zoom}])))
|
||||||
|
|
||||||
(when-let [draft (:comment drawing)]
|
(when-let [draft (:comment drawing)]
|
||||||
[:& cmt/draft-thread {:draft draft
|
[:& cmt/draft-thread {:draft draft
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue