Skip to content

Commit

Permalink
Replaced hasMongoDump with hasMongoShell
Browse files Browse the repository at this point in the history
  • Loading branch information
garraflavatra committed Jun 25, 2024
1 parent 132df17 commit ca5cdc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/organisms/connection/shell.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
let editor;
async function runScript() {
if (!$environment.hasMongoDump) {
if (!$environment.hasMongoShell) {
return;
}
Expand Down
4 changes: 2 additions & 2 deletions internal/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})

Expand Down

0 comments on commit ca5cdc2

Please sign in to comment.