Bug of Table messing up with tooltips fixed

This commit is contained in:
Luis Fernando Molina committed 2021-01-11 10:55:36 +01:00
1 parent 865c46556a
commit fe4e98a772
4 files changed
+74 -70

No files matched your search

+8 -1
View File
@@ -468,7 +468,14 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
schemaDocument.created = undefined
let fileContent = JSON.stringify(schemaDocument, undefined, 4)
fs.writeFileSync(filePath + '/' + fileName, fileContent)
console.log('[SUCCESS] ' + filePath + '/' + fileName + ' updated.')
if (schemaDocument.created === true) {
console.log('[SUCCESS] ' + filePath + '/' + fileName + ' created.')
return
}
if (schemaDocument.updated === true) {
console.log('[SUCCESS] ' + filePath + '/' + fileName + ' updated.')
return
}
} catch (err) {
console.log('[ERROR] httpInterface -> Docs -> Save -> ' + filePath + '/' + fileName + ' could not be created / updated.')
console.log('[ERROR] httpInterface -> Docs -> Save -> Dont worry, the changes are still at the UI, but you will need to do 2 things: 1) Resolve the issue that is preventing the Client to write this file. Look at the error message below as a guide. 2) At the UI, locate this page and edit it with some small change again, so that is flagged that contains changes, otherwise those original changes will be ignored by the Client during the next docs.save command execution.')