Merge branch 'master' into tableeditor2

This commit is contained in:
Jan Prochazka
2021-09-04 09:41:10 +02:00
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{ {
"private": true, "private": true,
"version": "4.2.8-beta.2", "version": "4.2.8-beta.3",
"name": "dbgate-all", "name": "dbgate-all",
"workspaces": [ "workspaces": [
"packages/*", "packages/*",

View File

@@ -17,6 +17,7 @@
const filePaths = electron.remote.dialog.showOpenDialogSync(electron.remote.getCurrentWindow(), { const filePaths = electron.remote.dialog.showOpenDialogSync(electron.remote.getCurrentWindow(), {
defaultPath: values[name], defaultPath: values[name],
properties: ['showHiddenFiles'], properties: ['showHiddenFiles'],
filters: [{ name: 'All Files', extensions: ['*'] }],
}); });
const filePath = filePaths && filePaths[0]; const filePath = filePaths && filePaths[0];
if (filePath) setFieldValue(name, filePath); if (filePath) setFieldValue(name, filePath);