mirror of
https://github.com/penpot/penpot.git
synced 2026-05-29 19:58:09 +00:00
🐛 Fix unread comments
This commit is contained in:
parent
fec420b6e9
commit
9e17a0e65d
@ -296,7 +296,8 @@
|
|||||||
notify (or (-> profile :props :notifications :dashboard-comments) :all)
|
notify (or (-> profile :props :notifications :dashboard-comments) :all)
|
||||||
result (case notify
|
result (case notify
|
||||||
:all (db/exec! cfg [sql:unread-all-comment-threads-by-team profile-id team-id])
|
:all (db/exec! cfg [sql:unread-all-comment-threads-by-team profile-id team-id])
|
||||||
:partial (db/exec! cfg [sql:unread-partial-comment-threads-by-team profile-id team-id profile-id profile-id]))]
|
:partial (db/exec! cfg [sql:unread-partial-comment-threads-by-team profile-id team-id profile-id profile-id])
|
||||||
|
[])]
|
||||||
(into [] xf-decode-row result)))
|
(into [] xf-decode-row result)))
|
||||||
|
|
||||||
(def ^:private
|
(def ^:private
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user