forked from baron/baron-sso
userfront 연동이력 맞춤
This commit is contained in:
@@ -791,6 +791,23 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
if (activities.isEmpty) {
|
||||
return Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
'연동된 RP가 없습니다.',
|
||||
style: TextStyle(fontSize: 14, color: Colors.grey[700], fontWeight: FontWeight.w600),
|
||||
),
|
||||
const SizedBox(height: 6),
|
||||
Text(
|
||||
'RP를 연동하면 최근 활동과 상태가 표시됩니다.',
|
||||
style: TextStyle(fontSize: 12, color: Colors.grey[600]),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
return grid;
|
||||
},
|
||||
);
|
||||
@@ -815,33 +832,6 @@ class _DashboardScreenState extends ConsumerState<DashboardScreen> {
|
||||
);
|
||||
}
|
||||
|
||||
items.addAll([
|
||||
_ActivityItem(
|
||||
appName: 'BEPs',
|
||||
lastAuthAt: '연동 필요',
|
||||
status: '미연동',
|
||||
canLogout: false,
|
||||
),
|
||||
_ActivityItem(
|
||||
appName: 'KNGIL',
|
||||
lastAuthAt: '연동 필요',
|
||||
status: '미연동',
|
||||
canLogout: false,
|
||||
),
|
||||
_ActivityItem(
|
||||
appName: 'C.E.L',
|
||||
lastAuthAt: '연동 필요',
|
||||
status: '미연동',
|
||||
canLogout: false,
|
||||
),
|
||||
_ActivityItem(
|
||||
appName: 'EG-BIM',
|
||||
lastAuthAt: '연동 필요',
|
||||
status: '미연동',
|
||||
canLogout: false,
|
||||
),
|
||||
]);
|
||||
|
||||
return items;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user