feat(client): add update password
This commit is contained in:
@@ -123,6 +123,15 @@ export default function AccountsPage() {
|
||||
title: t('createdAt'),
|
||||
dataIndex: 'createdAt',
|
||||
key: 'createdAt',
|
||||
render: (text) => (
|
||||
<div>
|
||||
{new Date(text).toLocaleString('ru', {
|
||||
year: '2-digit',
|
||||
month: '2-digit',
|
||||
day: '2-digit',
|
||||
})}
|
||||
</div>
|
||||
),
|
||||
},
|
||||
{
|
||||
title: t('status'),
|
||||
@@ -191,7 +200,7 @@ export default function AccountsPage() {
|
||||
closeDrawer={closeEditDrawer}
|
||||
type="edit"
|
||||
>
|
||||
<UserEdit userId={activeAccount?.id} />
|
||||
<UserEdit userId={activeAccount?.id} closeDrawer={closeEditDrawer} />
|
||||
</ContentDrawer>
|
||||
</>
|
||||
);
|
||||
|
Reference in New Issue
Block a user