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>
|
<div>
|
||||||
<CardTitle className="text-base sm:text-lg">Upcoming Deadlines</CardTitle>
|
<CardTitle className="text-base sm:text-lg">Upcoming Deadlines</CardTitle>
|
||||||
<CardDescription className="text-xs sm:text-sm">
|
<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>
|
</CardDescription>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -1228,9 +1228,12 @@ export function Dashboard({ onNavigate, onNewRequest }: DashboardProps) {
|
|||||||
</Badge>
|
</Badge>
|
||||||
</div>
|
</div>
|
||||||
<p className="text-xs sm:text-sm text-muted-foreground truncate">{deadline.requestTitle}</p>
|
<p className="text-xs sm:text-sm text-muted-foreground truncate">{deadline.requestTitle}</p>
|
||||||
<p className="text-xs text-muted-foreground mt-1">
|
<div className="flex items-center gap-2 mt-1 text-xs text-muted-foreground flex-wrap">
|
||||||
Level {deadline.levelNumber} • {deadline.approverName}
|
<Badge variant="outline" className="text-xs bg-blue-50 text-blue-700 border-blue-200">
|
||||||
</p>
|
Level {deadline.levelNumber || deadline.currentLevel}/{deadline.totalLevels || '?'}
|
||||||
|
</Badge>
|
||||||
|
<span className="truncate">{deadline.approverName}</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="text-right flex-shrink-0">
|
<div className="text-right flex-shrink-0">
|
||||||
<p className="text-xs text-muted-foreground">TAT Used</p>
|
<p className="text-xs text-muted-foreground">TAT Used</p>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user