fix(team): checkpoint task detail review updates

This commit is contained in:
777genius 2026-05-09 14:35:46 +03:00
parent ae717c7f00
commit 33c362b990
2 changed files with 3 additions and 1 deletions

View file

@ -1271,7 +1271,7 @@ export const TaskDetailDialog = ({
className="group flex w-full items-center gap-2 rounded px-2 py-1.5 text-left text-xs transition-colors hover:bg-[var(--color-surface-raised)]"
>
<FileIcon
fileName={file.relativePath.split('/').pop() ?? file.relativePath}
fileName={file.relativePath.split(/[\\/]/).pop() ?? file.relativePath}
className="size-3.5"
/>
{onViewChanges ? (

View file

@ -229,6 +229,8 @@ describe('MemberWorkSyncTaskImpactResolver', () => {
id: 'evt-self-review',
type: 'review_requested',
timestamp: '2026-05-06T19:00:00.000Z',
from: 'none',
to: 'review',
reviewer: 'alice',
},
],