Fix CSV errors for rendering (#514)
This commit is contained in:
2
templates/pages/gist.html
vendored
2
templates/pages/gist.html
vendored
@@ -55,7 +55,7 @@
|
||||
</div>
|
||||
<div class="overflow-auto">
|
||||
{{ if $file.MimeType.IsText }}
|
||||
{{ if $file.MimeType.IsCSV }}
|
||||
{{ if eq $file.InternalType "CSVFile" }}
|
||||
<table class="csv-table">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
2
templates/pages/gist_embed.html
vendored
2
templates/pages/gist_embed.html
vendored
@@ -17,7 +17,7 @@
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if $file.MimeType.IsText }}
|
||||
{{ if $file.MimeType.IsCSV }}
|
||||
{{ if eq $file.InternalType "CSVFile" }}
|
||||
<table class="csv-table">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user