From 6931e63f470383517bdf4eda968728b6b00bcbff Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Sat, 14 Jan 2023 21:11:35 +0100 Subject: [PATCH] Corrected mistakes in previous commits --- frontend/src/app.svelte | 2 +- internal/app/database.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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", })