try to guess desired import target+preselect it

This commit is contained in:
Jan Prochazka
2021-12-09 08:29:54 +01:00
parent a96851b38f
commit 5cc78c4e50
4 changed files with 33 additions and 8 deletions

View File

@@ -89,7 +89,7 @@ export function openElectronFileCore(filePath, extensions) {
storageType: format.storageType,
shortName: parsed.name,
},
importToArchive: true,
importToCurrentTarget: true,
initialValues: {
sourceStorageType: format.storageType,
},