From 1cf6adbc7fcfd9a3bbe2918f3dd9e551d0d10ac0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 23 Feb 2026 12:26:45 +0000 Subject: [PATCH] feat(ui): always show Remove from DB button for DB-sourced settings with confirmation dialog Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> --- frontend/templates/settings.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/templates/settings.html b/frontend/templates/settings.html index b35ccefe..30b3ffed 100644 --- a/frontend/templates/settings.html +++ b/frontend/templates/settings.html @@ -201,14 +201,14 @@ @@ -330,6 +330,10 @@ function settingsApp() { }, async revertSetting(key) { + if (!confirm(`Remove '${key}' from the database?\n\nThe setting will revert to its environment variable or default value.`)) { + return; + } + this.revertingKey = key; this.hideAlert();