diff --git a/frontend/app/components/Dashboard/Widgets/CardSessionsByList.tsx b/frontend/app/components/Dashboard/Widgets/CardSessionsByList.tsx index 135c5cb76..ace2074ae 100644 --- a/frontend/app/components/Dashboard/Widgets/CardSessionsByList.tsx +++ b/frontend/app/components/Dashboard/Widgets/CardSessionsByList.tsx @@ -13,16 +13,16 @@ function CardSessionsByList({ list, selected, onClickHandler = () => null }: Pro ( + renderItem={(row: any, index: number) => ( onClickHandler(e, row)} // Remove onClick handler to disable click interaction + onClick={(e) => onClickHandler(e, row)} style={{ - borderBottom: '1px dotted rgba(0, 0, 0, 0.05)', + borderBottom: index === list.length - 1 ? 'none' : '1px dotted rgba(0, 0, 0, 0.05)', padding: '4px 10px', lineHeight: '1px' }} - className={cn('rounded', selected === row.name ? 'bg-active-blue' : '')} // Remove hover:bg-active-blue and cursor-pointer + className={cn('rounded', selected === row.name ? 'bg-active-blue' : '')} >