Commit 35decc5e authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'ph/36152/useCommitDescription' into 'master'

Correctly show commit description

See merge request gitlab-org/gitlab!19968
parents f0059afb 889488db
...@@ -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