Commit b51a525a authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'ph/fixSingleFileDiffsCachingRenderedOutput' into 'master'

Fixes the diffs rendered output being cached in correctly

See merge request gitlab-org/gitlab!42982
parents 781318d8 105a01c9
...@@ -242,6 +242,7 @@ export default { ...@@ -242,6 +242,7 @@ export default {
class="line-coverage" class="line-coverage"
></td> ></td>
<td <td
:key="line.line_code"
v-safe-html="line.rich_text" v-safe-html="line.rich_text"
:class="[ :class="[
line.type, line.type,
......
...@@ -341,6 +341,7 @@ export default { ...@@ -341,6 +341,7 @@ export default {
<td :class="parallelViewLeftLineType" class="line-coverage left-side"></td> <td :class="parallelViewLeftLineType" class="line-coverage left-side"></td>
<td <td
:id="line.left.line_code" :id="line.left.line_code"
:key="line.left.line_code"
v-safe-html="line.left.rich_text" v-safe-html="line.left.rich_text"
:class="parallelViewLeftLineType" :class="parallelViewLeftLineType"
class="line_content with-coverage parallel left-side" class="line_content with-coverage parallel left-side"
...@@ -401,6 +402,7 @@ export default { ...@@ -401,6 +402,7 @@ export default {
></td> ></td>
<td <td
:id="line.right.line_code" :id="line.right.line_code"
:key="line.right.rich_text"
v-safe-html="line.right.rich_text" v-safe-html="line.right.rich_text"
:class="[ :class="[
line.right.type, line.right.type,
......
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