mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-08 17:03:53 +00:00
fix: allow user to reset schedule filter
This commit is contained in:
committed by
Carlos Valente
parent
147862e647
commit
1fc4a06133
@@ -17,7 +17,7 @@ export const getBackstageOptions = (
|
||||
customFields: CustomFields,
|
||||
projectData: ProjectData,
|
||||
): ViewOption[] => {
|
||||
const customFieldOptions = makeOptionsFromCustomFields(customFields, []);
|
||||
const customFieldOptions = makeOptionsFromCustomFields(customFields, [{ value: 'none', label: 'None' }]);
|
||||
const secondaryOptions = makeOptionsFromCustomFields(customFields, [
|
||||
{ value: 'none', label: 'None' },
|
||||
{ value: 'note', label: 'Note' },
|
||||
|
||||
@@ -16,7 +16,7 @@ export const getScheduleOptions = (customFieldOptions: SelectOption[]): ViewOpti
|
||||
description: 'Hide events without data in the selected custom field',
|
||||
type: 'option',
|
||||
values: customFieldOptions,
|
||||
defaultValue: 'None',
|
||||
defaultValue: 'none',
|
||||
},
|
||||
{
|
||||
id: 'stopCycle',
|
||||
|
||||
Reference in New Issue
Block a user