widget leantime refactor

This commit is contained in:
alma 2026-01-15 23:23:09 +01:00
parent 11ee1fb3a4
commit 88cd714566

View File

@ -343,8 +343,10 @@ export function Duties() {
<div className="flex items-center text-gray-500 text-[10px] bg-gray-50 px-1.5 py-0.5 rounded-md">
<Folder className="h-2.5 w-2.5 mr-1 opacity-70" />
<span className="truncate">{task.projectName}</span>
{(task as any).source === 'twenty-crm' && (
<span className="ml-1 text-[9px] text-purple-600 font-medium">(Médiation)</span>
{(task as any).source === 'twenty-crm' ? (
<span className="ml-1 text-[9px] text-purple-600 font-medium">SLM IF (Médiation)</span>
) : (
<span className="ml-1 text-[9px] text-blue-600 font-medium">(Agilité)</span>
)}
</div>
</div>