Skip to content

Commit df156a5

Browse files
fixed access of licence in the full calendar
1 parent e7014bb commit df156a5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ let CalendarBasicComp = (function () {
103103
style,
104104
firstDay,
105105
editable,
106+
licenceKey,
106107
} = props;
107108

108109
function renderEventContent(eventInfo: EventContentArg) {
@@ -309,6 +310,8 @@ let CalendarBasicComp = (function () {
309310
initialDate = undefined;
310311
}
311312

313+
314+
312315
return (
313316
<Wrapper
314317
ref={ref}
@@ -359,7 +362,7 @@ let CalendarBasicComp = (function () {
359362
setLeft(left);
360363
}}
361364
buttonText={buttonText}
362-
schedulerLicenseKey={props.licenceKey.value}
365+
schedulerLicenseKey={licenceKey}
363366
views={views}
364367
eventClassNames={() => (!showEventTime ? "no-time" : "")}
365368
slotLabelFormat={slotLabelFormat}

0 commit comments

Comments
 (0)