1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 19:34:34 +00:00

fix: hot fix for web component

This commit is contained in:
Saad Jutt
2022-02-20 05:03:48 +05:00
parent a11893ece1
commit 0a4b202428

View File

@@ -46,7 +46,11 @@ const Studio = () => {
axios
.post(`/SASjsApi/code/execute`, { code })
.then((res: any) => {
setLog(`<div><h2>SAS Log</h2><pre>${res?.data?.log}</pre></div>`)
const parsedLog = res?.data?.log
.map((logLine: any) => logLine.line)
.join('\n')
setLog(`<div><h2>SAS Log</h2><pre>${parsedLog}</pre></div>`)
let weboutString: string
try {