mirror of
https://github.com/sasjs/server.git
synced 2025-12-11 03:34:35 +00:00
fix: hot fix for web component
This commit is contained in:
@@ -46,7 +46,11 @@ const Studio = () => {
|
|||||||
axios
|
axios
|
||||||
.post(`/SASjsApi/code/execute`, { code })
|
.post(`/SASjsApi/code/execute`, { code })
|
||||||
.then((res: any) => {
|
.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
|
let weboutString: string
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user