From 042035a7991b0a2c4c4061c28fe9f37a28e38f53 Mon Sep 17 00:00:00 2001 From: Sebastian Sauer Date: Mon, 26 Jun 2023 21:54:52 +0200 Subject: [PATCH] Use AfterCommitId to get commit for Viewed functionality the PullHeadCommitID is not always available when the PR is merged. --- templates/repo/diff/box.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index 1198452f7e567..8f570e5efcc60 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -147,7 +147,7 @@ {{end}} {{end}} {{if $isReviewFile}} -