This commit is contained in:
Jan Prochazka
2020-11-19 08:02:16 +01:00
parent ac049f43a3
commit 64362cdf13
5 changed files with 6 additions and 6 deletions

View File

@@ -91,7 +91,7 @@ const Title = styled.div`
function getFileFilters(storageType) {
const res = [];
const format = findFileFormat(storageType);
if (format) res.push({ name: format.filesTitle, extensions: [format.extension] });
if (format) res.push({ name: format.name, extensions: [format.extension] });
res.push({ name: 'All Files', extensions: ['*'] });
return res;
}
@@ -195,7 +195,7 @@ function SourceTargetConfig({
{ value: 'database', label: 'Database', directions: ['source', 'target'] },
...fileformats.map((format) => ({
value: format.storageType,
label: format.filesTitle,
label: format.name,
directions: getFileFormatDirections(format),
})),
{ value: 'query', label: 'SQL Query', directions: ['source'] },