feat: download as JSON

This commit is contained in:
karishmas6
2024-10-11 02:01:25 +05:30
parent 4c98b1953d
commit a9b71ddd03

View File

@@ -136,7 +136,7 @@ export const RunContent = ({ row, currentLog, interpretationInProgress, logEndRe
<Typography>
{key}:
<a href={`data:application/json;utf8,${JSON.stringify(row.serializableOutput[key], null, 2)}`}
download={key} style={{ margin: '10px' }}>Download</a>
download={key} style={{ margin: '10px' }}>Download as JSON</a>
</Typography>
</div>
)