edit user shown now email in title

This commit is contained in:
Michael Schramm 2022-02-28 23:01:38 +01:00
parent cf53f46b48
commit 2e2d1b9a21
2 changed files with 4 additions and 1 deletions

View File

@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Added
- map field type
### Changed
- update translations (https://github.com/ohmyform/ui/pull/70)
@ -17,6 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- locale scripts were missing dependency
- edit user shows now email in title
### Security

View File

@ -59,7 +59,7 @@ const Index: NextPage = () => {
return (
<Structure
loading={loading || saving}
title={loading ? t('user:loading') : t('user:mange', { title: data.user.email })}
title={loading ? t('user:loading') : t('user:mange', { email: data.user.email })}
selected={'users'}
breadcrumbs={[
{ href: '/admin', name: t('admin:home') },