Commit 889488db authored by Phil Hughes's avatar Phil Hughes

Correctly show commit description

https://gitlab.com/gitlab-org/gitlab/issues/36152
parent af4b0838
...@@ -109,7 +109,7 @@ export default { ...@@ -109,7 +109,7 @@ export default {
class="text-expander" class="text-expander"
@click="toggleShowDescription" @click="toggleShowDescription"
> >
<icon name="ellipsis_h" /> <icon name="ellipsis_h" :size="10" />
</gl-button> </gl-button>
<div class="committer"> <div class="committer">
<gl-link <gl-link
...@@ -124,7 +124,7 @@ export default { ...@@ -124,7 +124,7 @@ export default {
</div> </div>
<pre <pre
v-if="commit.description" v-if="commit.description"
v-show="showDescription" :class="{ 'd-block': showDescription }"
class="commit-row-description append-bottom-8" class="commit-row-description append-bottom-8"
> >
{{ commit.description }} {{ commit.description }}
......
...@@ -5,7 +5,7 @@ query pathLastCommit($projectPath: ID!, $path: String, $ref: String!) { ...@@ -5,7 +5,7 @@ query pathLastCommit($projectPath: ID!, $path: String, $ref: String!) {
lastCommit { lastCommit {
sha sha
title title
message description
webUrl webUrl
authoredDate authoredDate
author { author {
......
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