|
|
@ -27,14 +27,14 @@ export class DownloadService {
|
|
|
|
cellData = cellData.join('", "');
|
|
|
|
cellData = cellData.join('", "');
|
|
|
|
} else if (column.type === 'NumRange') {
|
|
|
|
} else if (column.type === 'NumRange') {
|
|
|
|
cellData =
|
|
|
|
cellData =
|
|
|
|
(row[column.dataPath + '.min'] || '') +
|
|
|
|
(row[column.dataPath + '.min'] ?? '') +
|
|
|
|
' bis ' +
|
|
|
|
' bis ' +
|
|
|
|
(row[column.dataPath + '.max'] || '');
|
|
|
|
(row[column.dataPath + '.max'] ?? '');
|
|
|
|
} else if (column.type === 'DateRange') {
|
|
|
|
} else if (column.type === 'DateRange') {
|
|
|
|
cellData =
|
|
|
|
cellData =
|
|
|
|
(row[column.dataPath + '.from'] || '') +
|
|
|
|
(row[column.dataPath + '.from'] ?? '') +
|
|
|
|
' bis ' +
|
|
|
|
' bis ' +
|
|
|
|
(row[column.dataPath + '.to'] || '');
|
|
|
|
(row[column.dataPath + '.to'] ?? '');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return '"' + (cellData ?? '').toString().replace(/"/g, "''") + '"';
|
|
|
|
return '"' + (cellData ?? '').toString().replace(/"/g, "''") + '"';
|
|
|
|
});
|
|
|
|
});
|
|
|
|