feat(calendar): add show-unmonitored option (#2547)

* feat(calendar): add show-unmonitored option

* fix: typecheck issue
This commit is contained in:
Meier Lukas
2025-03-09 14:26:31 +01:00
committed by GitHub
parent 2f80c096a7
commit f6f0d7c72b
7 changed files with 23 additions and 3 deletions

View File

@@ -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,

View File

@@ -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"),