mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: removed notification for draft issues (#2426)
This commit is contained in:
parent
98b1a078de
commit
46d34263f0
@ -1248,6 +1248,9 @@ def issue_activity(
|
|||||||
"comment_reaction.activity.deleted",
|
"comment_reaction.activity.deleted",
|
||||||
"issue_vote.activity.created",
|
"issue_vote.activity.created",
|
||||||
"issue_vote.activity.deleted",
|
"issue_vote.activity.deleted",
|
||||||
|
"issue_draft.activity.created",
|
||||||
|
"issue_draft.activity.updated",
|
||||||
|
"issue_draft.activity.deleted",
|
||||||
]:
|
]:
|
||||||
issue = Issue.objects.filter(pk=issue_id).first()
|
issue = Issue.objects.filter(pk=issue_id).first()
|
||||||
|
|
||||||
@ -1340,6 +1343,9 @@ def issue_activity(
|
|||||||
"comment_reaction.activity.deleted",
|
"comment_reaction.activity.deleted",
|
||||||
"issue_vote.activity.created",
|
"issue_vote.activity.created",
|
||||||
"issue_vote.activity.deleted",
|
"issue_vote.activity.deleted",
|
||||||
|
"issue_draft.activity.created",
|
||||||
|
"issue_draft.activity.updated",
|
||||||
|
"issue_draft.activity.deleted",
|
||||||
]:
|
]:
|
||||||
# Create Notifications
|
# Create Notifications
|
||||||
bulk_notifications = []
|
bulk_notifications = []
|
||||||
|
Loading…
Reference in New Issue
Block a user