diff --git a/frontend/src/organisms/connection/shell.svelte b/frontend/src/organisms/connection/shell.svelte index ecdb501..9e4f360 100644 --- a/frontend/src/organisms/connection/shell.svelte +++ b/frontend/src/organisms/connection/shell.svelte @@ -24,7 +24,7 @@ let editor; async function runScript() { - if (!$environment.hasMongoDump) { + if (!$environment.hasMongoShell) { return; } diff --git a/internal/app/app.go b/internal/app/app.go index cff798f..5e26a7e 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -173,8 +173,8 @@ func (a *App) ChooseDirectory(title string) string { } dir, err := wailsRuntime.OpenDirectoryDialog(a.ctx, wailsRuntime.OpenDialogOptions{ - Title: title, - DefaultDirectory: a.Env.DownloadDirectory, + Title: title, + DefaultDirectory: a.Env.DownloadDirectory, CanCreateDirectories: true, })