Skip to content
Snippets Groups Projects
Commit c6d96fdf authored by Douwe Maan's avatar Douwe Maan
Browse files

Fix Discussion#resolved? to be false for commit discussions

parent 5ec7a40b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -64,7 +64,7 @@ class Discussion
end
 
def resolved?
notes.none?(&:to_be_resolved?)
resolvable? && notes.none?(&:to_be_resolved?)
end
 
def to_be_resolved?
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment