mirror of
https://github.com/sasjs/server.git
synced 2026-01-03 21:10:05 +00:00
chore(web): quick fixes
This commit is contained in:
@@ -223,6 +223,10 @@ const SASjsEditor = ({
|
||||
const saveFile = (filePath?: string) => {
|
||||
setIsLoading(true)
|
||||
|
||||
if (filePath) {
|
||||
filePath = filePath.startsWith('/') ? filePath : `/${filePath}`
|
||||
}
|
||||
|
||||
const formData = new FormData()
|
||||
|
||||
const stringBlob = new Blob([fileContent], { type: 'text/plain' })
|
||||
|
||||
Reference in New Issue
Block a user