Update priority calculation to use helper function
cgen-68f658229c9f4c379b62026952867365
This commit is contained in:
parent
68fd30524d
commit
4d0a8b0328
1 changed files with 2 additions and 2 deletions
|
|
@ -427,13 +427,13 @@ export default function Dashboard() {
|
|||
</div>
|
||||
<Badge
|
||||
variant={
|
||||
project.priority === "High"
|
||||
getPriorityFromTech(project.technologies || []) === "High"
|
||||
? "destructive"
|
||||
: "secondary"
|
||||
}
|
||||
className="animate-pulse"
|
||||
>
|
||||
{project.priority}
|
||||
{getPriorityFromTech(project.technologies || [])}
|
||||
</Badge>
|
||||
<Button
|
||||
variant="ghost"
|
||||
|
|
|
|||
Loading…
Reference in a new issue