diff --git a/src/components/PlannedSession.tsx b/src/components/PlannedSession.tsx index 0d8c820a..6c714081 100644 --- a/src/components/PlannedSession.tsx +++ b/src/components/PlannedSession.tsx @@ -1514,7 +1514,8 @@ const PlannedSession: React.FC = ({ = ({ > - {data?.isRecurring === false ? getStatusIcon() : ''} + {/* {data?.isRecurring === false ? getStatusIcon() : ''} */} + {getStatusIcon()} void; selectedDays?: any[]; + multiselect?: boolean; } const WeekDays: React.FC = ({ useAbbreviation, onSelectionChange, selectedDays = [], + multiselect, }) => { const theme = useTheme(); const [localSelectedDays, setLocalSelectedDays] = useState([]); @@ -105,14 +107,14 @@ const WeekDays: React.FC = ({ key={`${day}-${index}`} ref={index === currentDayIndex ? selectedItemRef : null} style={{ - backgroundColor: useAbbreviation + backgroundColor: multiselect ? localSelectedDays.includes(index) ? theme.palette.primary.main : 'inherit' : index === currentDayIndex ? theme.palette.primary.main : 'inherit', - cursor: useAbbreviation ? 'pointer' : 'default', + cursor: multiselect ? 'pointer' : 'default', border: `1px solid ${theme?.palette?.warning['A100']}`, borderRadius: '4px', justifyContent: 'center', @@ -122,7 +124,7 @@ const WeekDays: React.FC = ({ >