Commit c6d96fdf authored by Douwe Maan's avatar Douwe Maan

Fix Discussion#resolved? to be false for commit discussions

parent 5ec7a40b
......@@ -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?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment