mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
preview when import from archive
This commit is contained in:
parent
a80c680914
commit
bdb8f44895
@ -455,7 +455,8 @@ export default function ImportExportConfigurator({ uploadedFile = undefined, onC
|
||||
}
|
||||
}, []);
|
||||
|
||||
const supportsPreview = !!findFileFormat(extensions, values.sourceStorageType);
|
||||
const supportsPreview =
|
||||
!!findFileFormat(extensions, values.sourceStorageType) || values.sourceStorageType == 'archive';
|
||||
const previewFileName =
|
||||
previewSource && values[`sourceFile_${previewSource}`] && values[`sourceFile_${previewSource}`].fileName;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user