summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2017-10-20 10:40:26 +0000
committerPhil Hughes <me@iamphill.com>2017-10-20 10:40:26 +0000
commit04b616a60e4318e95b6d2dd769bc2961cba6caa6 (patch)
tree3902a98efce8847136a4d5b3064317352d73cc17 /app
parentbc734d34479dfe80984b851153447ce03d4c93a0 (diff)
downloadgitlab-ce-04b616a60e4318e95b6d2dd769bc2961cba6caa6.tar.gz
Force non diff resolved discussion to display when collapse toggled
Diffstat (limited to 'app')
-rw-r--r--app/views/discussions/_discussion.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/discussions/_discussion.html.haml b/app/views/discussions/_discussion.html.haml
index 578e751ab47..0f03163a2e8 100644
--- a/app/views/discussions/_discussion.html.haml
+++ b/app/views/discussions/_discussion.html.haml
@@ -44,4 +44,4 @@
= render "discussions/diff_with_notes", discussion: discussion
- else
.panel.panel-default
- = render "discussions/notes", discussion: discussion
+ = render partial: "discussions/notes", locals: { discussion: discussion, disable_collapse_class: true }