Use Note#for_project_snippet?
to skip notes on project snippet
This commit is contained in:
parent
231d4fb9f8
commit
71cc3caa85
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ class TodoService
|
|||
|
||||
def handle_note(note, author)
|
||||
# Skip system notes, and notes on project snippet
|
||||
return if note.system? || ['Snippet'].include?(note.noteable_type)
|
||||
return if note.system? || note.for_project_snippet?
|
||||
|
||||
project = note.project
|
||||
target = note.noteable
|
||||
|
|
Loading…
Reference in a new issue