diff options
author | Earl Warren <contact@earl-warren.org> | 2024-04-26 11:22:09 +0200 |
---|---|---|
committer | Earl Warren <earl-warren@noreply.codeberg.org> | 2024-04-26 11:22:09 +0200 |
commit | c31ae1a651d3be4da1f45ec2ccb6964aa6282268 (patch) | |
tree | d3c3ca241b7177972b2f8ba4c0ea1bee9731cc29 /templates | |
parent | Merge pull request 'Update dependency vitest to v1.5.2' (#3468) from renovate... (diff) | |
download | forgejo-c31ae1a651d3be4da1f45ec2ccb6964aa6282268.tar.xz forgejo-c31ae1a651d3be4da1f45ec2ccb6964aa6282268.zip |
fix(lfs): gogit /settings/lfs/find 500 error (#3472)
Refs: https://codeberg.org/forgejo/forgejo/pulls/3448
Refs: https://codeberg.org/forgejo/forgejo/issues/3438
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3472
Reviewed-by: oliverpool <oliverpool@noreply.codeberg.org>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/settings/lfs_file_find.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/settings/lfs_file_find.tmpl b/templates/repo/settings/lfs_file_find.tmpl index 54dbdb482b..809a028b2c 100644 --- a/templates/repo/settings/lfs_file_find.tmpl +++ b/templates/repo/settings/lfs_file_find.tmpl @@ -23,9 +23,9 @@ <span class="text grey">{{svg "octicon-git-branch"}}{{.BranchName}}</span> </td> <td> - {{if .ParentIDs}} + {{if .ParentHashes}} {{ctx.Locale.Tr "repo.diff.parent"}} - {{range .ParentIDs}} + {{range .ParentHashes}} <a class="ui primary sha label" href="{{$.RepoLink}}/commit/{{.String}}">{{ShortSha .String}}</a> {{end}} {{end}} |