mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-03 11:27:50 +01:00
Display profile name in delete confirmation
This commit is contained in:
parent
0019da260c
commit
916d73da4c
@ -133,7 +133,8 @@ async function deleteConnectionProfile() {
|
|||||||
return;
|
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) {
|
if (!confirm) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user