Skip to content

Commit ed1f70a

Browse files
committed
fix(user-management): adjust visibility of authentication status and creation date
- Make authentication status visible only on
1 parent a9a1c04 commit ed1f70a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lib/user_management/view/users_page.dart

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,13 @@ class _UsersDataSource extends DataTableSource {
243243
),
244244
),
245245
if (!isMobile)
246-
DataCell(Text(user.appRole.authenticationStatusL10n(context))),
247-
DataCell(
248-
Text(
249-
DateFormat('dd-MM-yyyy').format(user.createdAt.toLocal()),
246+
DataCell(
247+
Text(user.appRole.authenticationStatusL10n(context)),
248+
),
249+
if (!isMobile)
250+
DataCell(
251+
Text(DateFormat('dd-MM-yyyy').format(user.createdAt.toLocal())),
250252
),
251-
),
252253
DataCell(
253254
UserActionButtons(
254255
user: user,

0 commit comments

Comments
 (0)