From 916d73da4cbfa1fb69f02b63e26a90c2d1a6288a Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sat, 7 Sep 2024 01:18:35 +0300 Subject: [PATCH] Display profile name in delete confirmation --- public/scripts/extensions/connection-manager/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/scripts/extensions/connection-manager/index.js b/public/scripts/extensions/connection-manager/index.js index 75819d2fb..ee3344535 100644 --- a/public/scripts/extensions/connection-manager/index.js +++ b/public/scripts/extensions/connection-manager/index.js @@ -133,7 +133,8 @@ async function deleteConnectionProfile() { return; } - const confirm = await Popup.show.confirm('Are you sure you want to delete the selected profile?', null); + const name = extension_settings.connectionManager.profiles[index].name; + const confirm = await Popup.show.confirm('Are you sure you want to delete the selected profile?', name); if (!confirm) { return;