Keep headers

This commit is contained in:
Adria Navarro 2024-05-09 18:44:07 +02:00
parent 910ec6446b
commit 10df627744
1 changed files with 0 additions and 8 deletions

View File

@ -430,14 +430,6 @@ class GoogleSheetsIntegration implements DatasourcePlus {
}
}
// clear out deleted columns
for (let key of sheet.headerValues) {
if (!Object.keys(table.schema).includes(key)) {
const idx = updatedHeaderValues.indexOf(key)
updatedHeaderValues.splice(idx, 1)
}
}
try {
await sheet.setHeaderRow(updatedHeaderValues)
} catch (err) {