1
0
forked from baron/baron-sso

code check 오류 수정

This commit is contained in:
2026-03-24 15:53:10 +09:00
parent 839fabd056
commit 5a768d938a
4 changed files with 2 additions and 4 deletions

View File

@@ -687,7 +687,8 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
profile?.email ??
profile?.phone ??
tr('ui.userfront.profile.user_fallback', fallback: 'User');
final departmentValue = profile?.tenant?.name ?? profile?.department ?? '';
final departmentValue =
profile?.tenant?.name ?? profile?.department ?? '';
final department = departmentValue.isNotEmpty
? departmentValue
: tr('ui.userfront.profile.department_empty');