forked from baron/baron-sso
refactoring
This commit is contained in:
@@ -1178,11 +1178,11 @@ class _ProfilePageState extends ConsumerState<ProfilePage> {
|
||||
profile.tenant!.name,
|
||||
),
|
||||
],
|
||||
if (profile.companyCode.isNotEmpty) ...[
|
||||
if (profile.tenant?.slug.isNotEmpty ?? false) ...[
|
||||
const Divider(height: 24),
|
||||
_buildReadOnlyTile(
|
||||
tr('ui.userfront.profile.field.company_code'),
|
||||
profile.companyCode,
|
||||
tr('ui.userfront.profile.field.tenant_slug'),
|
||||
profile.tenant!.slug,
|
||||
),
|
||||
],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user