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.
This commit is contained in:
parent
675b8d454d
commit
f44eba8c0e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue