Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 3311af4

Browse files
committed
webui: Fix typo in the delete confirmation dialog
1 parent c88e03c commit 3311af4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

webui/jsx/database-settings.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export default function DatabaseSettings() {
242242
});
243243
}
244244

245-
// Delete the databasw
245+
// Delete the database
246246
function deleteDatabase() {
247247
fetch("/x/deletedatabase/", {
248248
method: "post",
@@ -271,14 +271,14 @@ export default function DatabaseSettings() {
271271
function confirmDelete() {
272272
confirmAlert({
273273
title: "Confirm delete",
274-
message: "Are you sure you want to delete " + meta.owner + "/" + meta.database + "? There is no \"undo\" if you proceed.",
274+
message: "Are you sure you want to delete '" + meta.owner + "/" + meta.database + "'? There is no \"undo\" if you proceed.",
275275
buttons: [
276276
{
277277
label: "Yes, delete it",
278278
onClick: () => deleteDatabase()
279279
},
280280
{
281-
label: "Canel"
281+
label: "Cancel"
282282
}
283283
]
284284
});

0 commit comments

Comments
 (0)