Include persona name in delete confirmation Closes #4119

51431b1a7539d72df01201d7c65e5933aadbe3ee

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

1 files changed, +3 -1Ignore whitespace
public/scripts/personas.js+3 -1
@@ -1007,7 +1007,9 @@ async function deleteUserAvatar() {
10071007 console.warn('No avatar id found');
10081008 return;
10091009 }
1010- const confirm = await Popup.show.confirm(t`Delete Persona`,
1010+ const name = power_user.personas[avatarId] || '';
1011+ const confirm = await Popup.show.confirm(
1012+ t`Delete Persona` + `: ${name}`,
10111013 t`Are you sure you want to delete this avatar?` + '<br />' + t`All information associated with its linked persona will be lost.`);
10121014
10131015 if (!confirm) {