mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 00:36:11 +02:00
🐛 Fix problem with email notifications on deleted comments (#5772)
This commit is contained in:
parent
508531cfc2
commit
3012ccf90a
1 changed files with 8 additions and 6 deletions
|
@ -207,12 +207,14 @@
|
|||
ptk/WatchEvent
|
||||
(watch [_ state _]
|
||||
(rx/concat
|
||||
(rx/of
|
||||
(rt/nav :workspace
|
||||
(-> (rt/get-params state)
|
||||
(assoc :page-id (:page-id thread))
|
||||
(dissoc :comment-id))
|
||||
{::rt/replace true}))
|
||||
(if (some? thread)
|
||||
(rx/of
|
||||
(rt/nav :workspace
|
||||
(-> (rt/get-params state)
|
||||
(assoc :page-id (:page-id thread))
|
||||
(dissoc :comment-id))
|
||||
{::rt/replace true}))
|
||||
(rx/empty))
|
||||
(->> (rx/of
|
||||
(dwd/select-for-drawing :comments)
|
||||
(center-to-comment-thread thread)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue