Skip to content

Commit 040daf0

Browse files
fix:removing invalid licence alert
1 parent 7a83d8d commit 040daf0

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ const childrenMap = {
8282
dayMaxEvents: withDefault(NumberControl, 2),
8383
eventMaxStack: withDefault(NumberControl, 0),
8484
style: styleControl(CalendarStyle),
85-
licenceKey: withDefault(StringControl, ""),
85+
licenceKey: withDefault(
86+
StringControl,
87+
"CC-Attribution-NonCommercial-NoDerivatives"
88+
),
8689
};
8790

8891
let CalendarBasicComp = (function () {
@@ -349,6 +352,9 @@ let CalendarBasicComp = (function () {
349352
interactionPlugin,
350353
listPlugin,
351354
momentPlugin,
355+
resourceTimelinePlugin,
356+
resourceTimeGridPlugin,
357+
adaptivePlugin,
352358
];
353359
const filteredPlugins = plugins.filter((plugin) => {
354360
if (licenceKey === "") {
@@ -361,6 +367,8 @@ let CalendarBasicComp = (function () {
361367
return true;
362368
}
363369
});
370+
console.log(filteredPlugins);
371+
364372
return (
365373
<Wrapper
366374
ref={ref}

0 commit comments

Comments
 (0)