fix delete user dialog

This commit is contained in:
Josh Hawkins 2025-04-16 23:05:58 -05:00 committed by Nicolas Mowen
parent 76f1170b80
commit b950096ca4
2 changed files with 3 additions and 2 deletions

View File

@ -474,7 +474,7 @@
"deleteUser": {
"title": "Delete User",
"desc": "This action cannot be undone. This will permanently delete the user account and remove all associated data.",
"warn": "Are you sure you want to delete <span className=\"font-bold\">{{username}}</span>?"
"warn": "Are you sure you want to delete"
},
"passwordSetting": {
"updatePassword": "Update Password for {{username}}",

View File

@ -35,7 +35,8 @@ export default function DeleteUserDialog({
<div className="my-4 rounded-md border border-destructive/20 bg-destructive/5 p-4 text-center text-sm">
<p className="font-medium text-destructive">
{t("users.dialog.deleteUser.warn", { username })}
{t("users.dialog.deleteUser.warn")}
<span className="font-medium"> {username}</span>?
</p>
</div>