Commit f44eba8c authored by Kerri Miller's avatar Kerri Miller

Lock suggestions_filter_enabled as true

Most/all of the work we're doing in this method is done at creation/edit
time, so do we need to also check at render? Assume if you've gotten to
this point, it's ok to enable the suggestion filter.
parent 675b8d45
......@@ -90,7 +90,7 @@ class DiffNote < Note
end
def banzai_render_context(field)
super.merge(project: project, suggestions_filter_enabled: supports_suggestion?)
super.merge(suggestions_filter_enabled: true)
end
private
......
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