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

fix: remove .sas extension from _program parameter at the end of string

This commit is contained in:
2021-10-27 16:39:34 +00:00
parent 8dd201ecbe
commit 56cb2d1d51

View File

@@ -64,7 +64,7 @@ const Main = (props: any) => {
setEditMode(false)
} else {
window.open(
`${baseUrl}/SASjsExecutor/do?_program=${props.selectedFilePath}`
`${baseUrl}/SASjsExecutor/do?_program=${props.selectedFilePath.replace(/.sas$/, "")}`
)
}
}