diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-04-12 19:29:54 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-04-12 19:29:54 +0300 |
commit | b01fd7ad81524b5f2773ccba4b5789a6074ffb9d (patch) | |
tree | 3fd1a32596b0b1127e07686e8878be692ee0be9e /app/views/discussions/_diff_with_notes.html.haml | |
parent | 1e54e30ffc017efa350e2f372513aa55b5a0bd0c (diff) |
Fixes unresolved discussions rendering the error state instead of the diff
Diffstat (limited to 'app/views/discussions/_diff_with_notes.html.haml')
-rw-r--r-- | app/views/discussions/_diff_with_notes.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/discussions/_diff_with_notes.html.haml b/app/views/discussions/_diff_with_notes.html.haml index 8680ec2e298..b382bc201b5 100644 --- a/app/views/discussions/_diff_with_notes.html.haml +++ b/app/views/discussions/_diff_with_notes.html.haml @@ -7,7 +7,7 @@ - unless expanded - diff_data = { lines_path: project_merge_request_discussion_path(discussion.project, discussion.noteable, discussion) } -.diff-file.file-holder{ class: diff_file_class, data: diff_data } +.diff-file.file-holder.js-lazy-load-discussion{ class: diff_file_class, data: diff_data } .js-file-title.file-title.file-title-flex-parent .file-header-content = render "projects/diffs/file_header", diff_file: diff_file, url: discussion_path(discussion), show_toggle: false |