1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2024-11-21 14:08:56 +01:00

Replaced hasMongoDump with hasMongoShell

This commit is contained in:
Romein van Buren 2024-06-25 10:47:03 +02:00
parent 132df17ff7
commit ca5cdc203a
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@
let editor;
async function runScript() {
if (!$environment.hasMongoDump) {
if (!$environment.hasMongoShell) {
return;
}

View File

@ -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,
})