Fix handling of result table metadata for project exports [SCI-9000] (#5943)

This commit is contained in:
Alex Kriuchykhin 2023-08-09 13:54:31 +02:00 committed by GitHub
parent d0f44bb9fd
commit e01c3682b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@
</div>
<div class="report-element-body">
<input type="hidden" class="hot-table-contents" value="<%= table.contents_utf_8 %>" />
<input type="hidden" class="hot-table-metadata" value="<%= table.metadata.to_json %>" />
<input type="hidden" class="hot-table-metadata" value="<%= table.metadata ? table.metadata.to_json : nil %>" />
<div class="hot-table-container"></div>
<table class="report-common-table-format"></table>
</div>