mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-05 10:19:54 +02:00
chore: fix the extra comment icon at the end and change the icon pointer
This commit is contained in:
1 parent
7d0c8e30e0
commit
ea285c2131
6 files changed
+10
-6
No files matched your search
@@ -957,7 +957,7 @@ func ExcerptBlob(ctx *context.Context) {
|
||||
}
|
||||
lineCommits := allComments[filePath]
|
||||
for _, line := range section.Lines {
|
||||
if line.SectionInfo != nil {
|
||||
if line.SectionInfo != nil && line.SectionInfo.RightHunkSize > 0 {
|
||||
start := int64(line.SectionInfo.LastRightIdx + 1)
|
||||
end := int64(line.SectionInfo.RightIdx - 1)
|
||||
for start <= end {
|
||||
|
||||
Reference in new issue
Block a user