mirror of
https://github.com/sasjs/server.git
synced 2025-12-10 11:24:35 +00:00
fix: on clicking execute button open new tab for response
This commit is contained in:
@@ -53,14 +53,9 @@ const Main = (props: any) => {
|
||||
setFileContent(fileContentBeforeEdit)
|
||||
setEditMode(false)
|
||||
} else {
|
||||
setIsLoading(true)
|
||||
axios
|
||||
.get(`${baseUrl}/SASjsExecutor/do?_program=${props.selectedFilePath}`)
|
||||
.then((res) => {
|
||||
setIsLoading(false)
|
||||
setEditMode(false)
|
||||
console.log(res)
|
||||
})
|
||||
window.open(
|
||||
`${baseUrl}/SASjsExecutor/do?_program=${props.selectedFilePath}`
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user