fixed 仓库树列表不加载图片内容

This commit is contained in:
xxq250 2023-04-04 09:38:39 +08:00
parent ea26c2f559
commit 1cd2e712a7
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ if @project.forge?
json.submodule_git_url entry['submodule_git_url'].nil? ? nil : repo_git_submodule_url(@owner, @repository, entry['submodule_git_url'])
json.size entry['size']
json.is_readme_file is_readme?(entry['type'], entry['name'])
json.content decode64_content(entry, @owner, @repository, @ref, @path)
json.content nil #decode64_content(entry, @owner, @repository, @ref, @path)
json.target entry['target']
json.commit do
json.partial! 'last_commit', latest_commit: entry['latest_commit']