fix: allow user to reset schedule filter

This commit is contained in:
Carlos Valente
2025-10-07 21:17:17 +02:00
committed by Carlos Valente
parent 147862e647
commit 1fc4a06133
2 changed files with 2 additions and 2 deletions
@@ -17,7 +17,7 @@ export const getBackstageOptions = (
customFields: CustomFields, customFields: CustomFields,
projectData: ProjectData, projectData: ProjectData,
): ViewOption[] => { ): ViewOption[] => {
const customFieldOptions = makeOptionsFromCustomFields(customFields, []); const customFieldOptions = makeOptionsFromCustomFields(customFields, [{ value: 'none', label: 'None' }]);
const secondaryOptions = makeOptionsFromCustomFields(customFields, [ const secondaryOptions = makeOptionsFromCustomFields(customFields, [
{ value: 'none', label: 'None' }, { value: 'none', label: 'None' },
{ value: 'note', label: 'Note' }, { value: 'note', label: 'Note' },
@@ -16,7 +16,7 @@ export const getScheduleOptions = (customFieldOptions: SelectOption[]): ViewOpti
description: 'Hide events without data in the selected custom field', description: 'Hide events without data in the selected custom field',
type: 'option', type: 'option',
values: customFieldOptions, values: customFieldOptions,
defaultValue: 'None', defaultValue: 'none',
}, },
{ {
id: 'stopCycle', id: 'stopCycle',