Fix CSV diff for added/deleted files (#21189) (#21193)

Backport #21189
Fixes #21184
Regression of #19552

Instead of using `GetBlobByPath`, use the already existing instances.
This commit is contained in:
wxiaoguang authored and GitHub committed 2022-09-17 18:53:04 +08:00
1 parent 2dcea782c5
commit 5cb1037cb7
3 files changed
+20 -20

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
<tr>
<td>
{{$result := call .root.CreateCsvDiff .file .root.BaseCommit .root.HeadCommit}}
{{$result := call .root.CreateCsvDiff .file .blobBase .blobHead}}
{{if $result.Error}}
<div class="ui center">{{$result.Error}}</div>
{{else if $result.Sections}}