fixed recurring event bug
This commit is contained in:
@@ -1113,7 +1113,7 @@ function ScheduleView({ events, selectedDate, onSelect, filterKeyword='', filter
|
|||||||
: BELL_ICON
|
: BELL_ICON
|
||||||
);
|
);
|
||||||
return(
|
return(
|
||||||
<div key={e.id} onClick={()=>onSelect(e)} style={{display:'flex',alignItems:'center',gap:rowGap,padding:rowPad,borderBottom:'1px solid var(--border)',cursor:'pointer',opacity:isPast?0.7:1}} onMouseEnter={el=>el.currentTarget.style.background='var(--background)'} onMouseLeave={el=>el.currentTarget.style.background=''}>
|
<div key={`${e.id}-${e.start_at}`} onClick={()=>onSelect(e)} style={{display:'flex',alignItems:'center',gap:rowGap,padding:rowPad,borderBottom:'1px solid var(--border)',cursor:'pointer',opacity:isPast?0.7:1}} onMouseEnter={el=>el.currentTarget.style.background='var(--background)'} onMouseLeave={el=>el.currentTarget.style.background=''}>
|
||||||
{/* Date column */}
|
{/* Date column */}
|
||||||
<div style={{width:datW,textAlign:'center',flexShrink:0}}>
|
<div style={{width:datW,textAlign:'center',flexShrink:0}}>
|
||||||
<div style={{fontSize:datFs,fontWeight:700,lineHeight:1,color:textColor}}>{s.getDate()}</div>
|
<div style={{fontSize:datFs,fontWeight:700,lineHeight:1,color:textColor}}>{s.getDate()}</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user