+5
-1
appview/pages/templates/repo/pulls/pulls.html
+5
-1
appview/pages/templates/repo/pulls/pulls.html
···
80
80
</span>
81
81
{{ if not .IsPatchBased }}
82
82
<span>from
83
-
{{ if not .IsBranchBased }}
83
+
{{ if .IsForkBased }}
84
+
{{ if .PullSource.Repo }}
84
85
<a href="/{{ $owner }}/{{ .PullSource.Repo.Name }}" class="no-underline hover:underline">{{ $owner }}/{{ .PullSource.Repo.Name }}</a>
86
+
{{ else }}
87
+
<span class="italic">[deleted fork]</span>
88
+
{{ end }}
85
89
{{ end }}
86
90
87
91
<span class="text-xs rounded bg-gray-100 dark:bg-gray-700 text-black dark:text-white font-mono px-2 mx-1/2 inline-flex items-center">
+3
-2
appview/state/pull.go
+3
-2
appview/state/pull.go
···
369
369
pullSourceRepo, err = db.GetRepoByAtUri(s.db, p.PullSource.RepoAt.String())
370
370
if err != nil {
371
371
log.Printf("failed to get repo by at uri: %v", err)
372
-
return
372
+
continue
373
+
} else {
374
+
p.PullSource.Repo = pullSourceRepo
373
375
}
374
376
}
375
-
p.PullSource.Repo = pullSourceRepo
376
377
}
377
378
}
378
379