Side Space

This commit is contained in:
Luis Fernando Molina committed 2020-05-14 16:39:10 +02:00
1 parent 8d546f5137
commit 58597e4bdc
3 files changed
+6 -1

No files matched your search

+2
View File
@@ -64,6 +64,8 @@ function newAppLoader() {
'Panels/PanelsVisibleButton.js',
'SideSpace/SidePanelTab.js',
'SideSpace/ListView.js',
'SideSpace/ListItem.js',
'Spaces/CockpitSpace.js',
'Spaces/TopSpace.js',
Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 KiB

After

Width:  |  Height:  |  Size: 247 KiB

+4 -1
View File
@@ -498,14 +498,17 @@ exports.newWebServer = function newWebServer(EVENTS_SERVER) {
if (err) {
if (CONSOLE_LOG === true) { console.log('[ERROR] Error reading a directory content. filePath = ' + dirPath) }
respondWithContent(JSON.stringify(global.DEFAULT_FAIL_RESPONSE), response)
return
} else {
respondWithContent(fileList, response)
respondWithContent(JSON.stringify(fileList), response)
return
}
}
} catch (err) {
if (CONSOLE_LOG === true) { console.log('[ERROR] Error reading a directory content. filePath = ' + dirPath) }
respondWithContent(JSON.stringify(global.DEFAULT_FAIL_RESPONSE), response)
return
}
}