mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-21 15:09:10 +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,
|
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',
|
||||||
|
|||||||
Reference in New Issue
Block a user