diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-08-18 19:54:50 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-08-18 20:49:25 -0500 |
commit | 10c5ec3e57d9a1a5a0477102dd7aa4cba0645b64 (patch) | |
tree | 5884a95e46379e72e84e15446192a1481968baa8 /app/views/discussions/_diff_discussion.html.haml | |
parent | 6a355d451eaca2fc10f5fcf31de13b05fa795b9b (diff) | |
download | gitlab-ce-10c5ec3e57d9a1a5a0477102dd7aa4cba0645b64.tar.gz |
Fix expansion of discussions in diffdiff-line-comment-vuejs
Diffstat (limited to 'app/views/discussions/_diff_discussion.html.haml')
-rw-r--r-- | app/views/discussions/_diff_discussion.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/discussions/_diff_discussion.html.haml b/app/views/discussions/_diff_discussion.html.haml index c280b5b53b7..1411daeb4a6 100644 --- a/app/views/discussions/_diff_discussion.html.haml +++ b/app/views/discussions/_diff_discussion.html.haml @@ -1,4 +1,4 @@ -- expanded = local_assigns.fetch(:expanded, discussion.expanded?) +- expanded = local_assigns.fetch(:expanded, true) %tr.notes_holder{class: ('hide' unless expanded)} %td.notes_line{ colspan: 2 } %td.notes_content |