1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2024-12-01 13:20:54 +00:00

Corrected mistakes in previous commits

This commit is contained in:
Romein van Buren 2023-01-14 21:11:35 +01:00
parent c81c5c9c73
commit 6931e63f47
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@
busy.start(); busy.start();
await DropCollection(activeHostKey, dbKey, collKey); await DropCollection(activeHostKey, dbKey, collKey);
await openConnection(activeHostKey); await openConnection(activeHostKey);
await openCollection(collKey); await openDatabase(dbKey);
busy.end(); busy.end();
} }

View File

@ -31,7 +31,7 @@ func (a *App) DropDatabase(hostKey, dbKey string) bool {
sure, _ := runtime.MessageDialog(a.ctx, runtime.MessageDialogOptions{ sure, _ := runtime.MessageDialog(a.ctx, runtime.MessageDialogOptions{
Title: "Confirm", Title: "Confirm",
Message: "Are you sure you want to drop " + dbKey + "?", Message: "Are you sure you want to drop " + dbKey + "?",
Buttons: []string{"yes", "no"}, Buttons: []string{"Yes", "No"},
DefaultButton: "Yes", DefaultButton: "Yes",
CancelButton: "No", CancelButton: "No",
}) })