Fix Discussion#resolved? to be false for commit discussions
This commit is contained in:
parent
5ec7a40bcb
commit
c6d96fdfbc
|
@ -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…
Reference in New Issue