Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9c9af79

Browse files
make showAllDay work in Day/Week/Month view
1 parent 1800886 commit 9c9af79

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

‎client/packages/lowcoder-comps/src/comps/calendarComp/calendarComp.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ let CalendarBasicComp = (function () {
125125
isList={isList}
126126
bg={eventInfo.backgroundColor}
127127
theme={theme?.theme}
128+
allDay={showAllDay}
128129
$style={props.style}
129130
>
130131
<div className="event-time">{eventInfo.timeText}</div>

‎client/packages/lowcoder-comps/src/comps/calendarComp/calendarConstants.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ export const Wrapper = styled.div<{
388388
389389
.fc-scrollgrid-liquid > tbody {
390390
& > tr:nth-of-type(2) {
391-
display: none;
391+
display: ${(props)=>props.allDay&&1};
392392
}
393393
}
394394
.fc .fc-timegrid-slot-label-cushion {
@@ -639,6 +639,7 @@ export const Event = styled.div<{
639639
bg: string;
640640
theme: Object;
641641
isList: boolean;
642+
allDay: boolean;
642643
$style: CalendarStyleType;
643644
}>`
644645
height: 100%;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /