Skip to content

Commit cfbee9c

Browse files
committed
Fix error
1 parent 12a67fb commit cfbee9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/repo/diff/section_split.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@
3636
<td class="lines-type-marker"></td>
3737
<td class="add-comment-left">
3838
{{if eq $line.GetCommentSide "previous"}}
39-
{{template "repo/diff/conversation" mergeinto $ "comments" $line.Comments}}
39+
{{template "repo/diff/conversation" mergeinto $.root "comments" $line.Comments}}
4040
{{end}}
4141
</td>
4242
<td class="lines-num"></td>
4343
<td class="lines-type-marker"></td>
4444
<td class="add-comment-right">
4545
{{if eq $line.GetCommentSide "proposed"}}
46-
{{template "repo/diff/conversation" mergeinto $ "comments" $line.Comments}}
46+
{{template "repo/diff/conversation" mergeinto $.root "comments" $line.Comments}}
4747
{{end}}
4848
</td>
4949
</tr>

0 commit comments

Comments
 (0)