1
0
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:
mulahasanovic
2026-05-14 10:43:16 +02:00
parent cd350e4e6d
commit ac0dfae9a8
2 changed files with 78 additions and 0 deletions
+7
View File
@@ -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'