feat(calendar): add show-unmonitored option (#2547)
* feat(calendar): add show-unmonitored option * fix: typecheck issue
This commit is contained in:
@@ -39,6 +39,7 @@ const FetchCalendar = ({ month, setMonth, isEditMode, integrationIds, options }:
|
||||
month: month.getMonth(),
|
||||
year: month.getFullYear(),
|
||||
releaseType: options.releaseType,
|
||||
showUnmonitored: options.showUnmonitored,
|
||||
},
|
||||
{
|
||||
refetchOnMount: false,
|
||||
|
||||
@@ -26,6 +26,9 @@ export const { definition, componentLoader } = createWidgetDefinition("calendar"
|
||||
validate: z.number().min(2).max(9999),
|
||||
defaultValue: 2,
|
||||
}),
|
||||
showUnmonitored: factory.switch({
|
||||
defaultValue: false,
|
||||
}),
|
||||
}));
|
||||
},
|
||||
supportedIntegrations: getIntegrationKindsByCategory("calendar"),
|
||||
|
||||
Reference in New Issue
Block a user