mirror of
https://github.com/sasjs/adapter.git
synced 2026-06-10 18:50:22 +00:00
fix: skip formats table in generateTableUploadForm to avoid empty sasjs<N>data
This commit is contained in:
@@ -11,6 +11,13 @@ export const generateTableUploadForm = (
|
||||
let tableCounter = 0
|
||||
|
||||
for (const tableName in data) {
|
||||
if (
|
||||
isFormatsTable(tableName) &&
|
||||
Object.keys(data).includes(tableName.replace(/^\$/, ''))
|
||||
) {
|
||||
continue
|
||||
}
|
||||
|
||||
tableCounter++
|
||||
|
||||
// Formats table should not be sent as part of 'sasjs_tables'
|
||||
|
||||
Reference in New Issue
Block a user