mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 20:26:00 +00:00
open data files using open dialog in electron + drag & drop in electron without uploading
This commit is contained in:
@@ -36,7 +36,7 @@ export function useUploadFiles() {
|
||||
|
||||
console.log('FILE', file);
|
||||
|
||||
if (electron && canOpenByElectron(file.path)) {
|
||||
if (electron && canOpenByElectron(file.path, extensions)) {
|
||||
openElectronFileCore(file.path);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user