Display profile name in delete confirmation

916d73da4cbfa1fb69f02b63e26a90c2d1a6288a

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -1Ignore whitespace
public/scripts/extensions/connection-manager/index.js+2 -1
@@ -133,7 +133,8 @@ async function deleteConnectionProfile() {
133 return;133 return;
134 }134 }
135135
136 const confirm = await Popup.show.confirm('Are you sure you want to delete the selected profile?', null);136 const name = extension_settings.connectionManager.profiles[index].name;
137 const confirm = await Popup.show.confirm('Are you sure you want to delete the selected profile?', name);
137138
138 if (!confirm) {139 if (!confirm) {
139 return;140 return;