mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 04:57:42 +03:00
fix delete user dialog
This commit is contained in:
parent
76f1170b80
commit
b950096ca4
@ -474,7 +474,7 @@
|
|||||||
"deleteUser": {
|
"deleteUser": {
|
||||||
"title": "Delete User",
|
"title": "Delete User",
|
||||||
"desc": "This action cannot be undone. This will permanently delete the user account and remove all associated data.",
|
"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": {
|
"passwordSetting": {
|
||||||
"updatePassword": "Update Password for {{username}}",
|
"updatePassword": "Update Password for {{username}}",
|
||||||
|
|||||||
@ -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">
|
<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">
|
<p className="font-medium text-destructive">
|
||||||
{t("users.dialog.deleteUser.warn", { username })}
|
{t("users.dialog.deleteUser.warn")}
|
||||||
|
<span className="font-medium"> {username}</span>?
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user