Skip to content

Commit

Permalink
Fix double blob-hunk on diff page (#19404) (#19405)
Browse files Browse the repository at this point in the history
- Don't show the blob-hunk twice on diff page
- Backport #19404
  • Loading branch information
Gusted authored Apr 15, 2022
1 parent b461993 commit 00da1fa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion templates/repo/diff/section_unified.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
<td class="chroma lines-code blob-hunk">{{/*
*/}}<code {{if $inlineDiff.EscapeStatus.Escaped}}class="code-inner has-escaped" title="{{$.root.i18n.Tr "repo.line_unicode"}}"{{else}}class="code-inner"{{end}}>{{$inlineDiff.Content}}</code>{{/*
*/}}
{{$line.Content}}
</td>
{{else}}
<td class="chroma lines-code{{if (not $line.RightIdx)}} lines-code-old{{end}}">{{/*
Expand Down

0 comments on commit 00da1fa

Please sign in to comment.