This commit is contained in:
@@ -401,7 +401,6 @@ namespace AyaNova.Biz
|
|||||||
log.LogDebug($"Preparing page: adding this report's scripts, style and templates to page");
|
log.LogDebug($"Preparing page: adding this report's scripts, style and templates to page");
|
||||||
|
|
||||||
//add report pre-render, helpers and style
|
//add report pre-render, helpers and style
|
||||||
//TODO: Add code to vet / evaluate these scripts and see if they are safe and contain valid methods expected
|
|
||||||
if (string.IsNullOrWhiteSpace(report.JsPrerender))
|
if (string.IsNullOrWhiteSpace(report.JsPrerender))
|
||||||
{
|
{
|
||||||
report.JsPrerender = "async function ayPrepareData(reportData){return reportData;}";
|
report.JsPrerender = "async function ayPrepareData(reportData){return reportData;}";
|
||||||
|
|||||||
Reference in New Issue
Block a user