TAT issue in dashboard scren for upcoming deadline
This commit is contained in:
parent
a030179d3c
commit
63738c529b
@ -1203,7 +1203,7 @@ export function Dashboard({ onNavigate, onNewRequest }: DashboardProps) {
|
||||
<div>
|
||||
<CardTitle className="text-base sm:text-lg">Upcoming Deadlines</CardTitle>
|
||||
<CardDescription className="text-xs sm:text-sm">
|
||||
{isAdmin ? 'Organization-wide aging workflows' : 'My pending approvals'}
|
||||
{isAdmin ? 'Current active levels organization-wide' : 'Requests awaiting your approval'}
|
||||
</CardDescription>
|
||||
</div>
|
||||
</div>
|
||||
@ -1228,9 +1228,12 @@ export function Dashboard({ onNavigate, onNewRequest }: DashboardProps) {
|
||||
</Badge>
|
||||
</div>
|
||||
<p className="text-xs sm:text-sm text-muted-foreground truncate">{deadline.requestTitle}</p>
|
||||
<p className="text-xs text-muted-foreground mt-1">
|
||||
Level {deadline.levelNumber} • {deadline.approverName}
|
||||
</p>
|
||||
<div className="flex items-center gap-2 mt-1 text-xs text-muted-foreground flex-wrap">
|
||||
<Badge variant="outline" className="text-xs bg-blue-50 text-blue-700 border-blue-200">
|
||||
Level {deadline.levelNumber || deadline.currentLevel}/{deadline.totalLevels || '?'}
|
||||
</Badge>
|
||||
<span className="truncate">{deadline.approverName}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div className="text-right flex-shrink-0">
|
||||
<p className="text-xs text-muted-foreground">TAT Used</p>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user