diff --git a/frontend/src/app.svelte b/frontend/src/app.svelte index a8fbc2e..64ab340 100644 --- a/frontend/src/app.svelte +++ b/frontend/src/app.svelte @@ -67,7 +67,7 @@ busy.start(); await DropCollection(activeHostKey, dbKey, collKey); await openConnection(activeHostKey); - await openCollection(collKey); + await openDatabase(dbKey); busy.end(); } diff --git a/internal/app/database.go b/internal/app/database.go index 963ed1a..f9707ba 100644 --- a/internal/app/database.go +++ b/internal/app/database.go @@ -31,7 +31,7 @@ func (a *App) DropDatabase(hostKey, dbKey string) bool { sure, _ := runtime.MessageDialog(a.ctx, runtime.MessageDialogOptions{ Title: "Confirm", Message: "Are you sure you want to drop " + dbKey + "?", - Buttons: []string{"yes", "no"}, + Buttons: []string{"Yes", "No"}, DefaultButton: "Yes", CancelButton: "No", })