0
Fork 0
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:
alonso.torres 2024-03-08 12:33:36 +01:00
parent 7f93c41005
commit 69f9982d26

View file

@ -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