🔀 Merge branch 'airmoi-109_column_shift'

This commit is contained in:
Jan Oberhauser 2019-11-07 22:09:23 +01:00
commit cb5eaa000d

View file

@ -312,7 +312,7 @@ export class GoogleSheet {
// Property exists so add it to the data to update // Property exists so add it to the data to update
// Get the column name in which the property data can be found // Get the column name in which the property data can be found
updateColumnName = String.fromCharCode(characterCode + keyColumnOrder.indexOf(propertyName)); updateColumnName = String.fromCharCode(rangeStart.toUpperCase().charCodeAt(0) + keyColumnOrder.indexOf(propertyName));
updateData.push({ updateData.push({
range: `${sheet ? sheet + '!' : ''}${updateColumnName}${updateRowIndex}`, range: `${sheet ? sheet + '!' : ''}${updateColumnName}${updateRowIndex}`,