Skip to content

Commit

Permalink
fix time fields not all being passed in
Browse files Browse the repository at this point in the history
Signed-off-by: Kawika Avilla <[email protected]>
  • Loading branch information
kavilla committed Jul 21, 2024
1 parent e5bead3 commit 2b2553f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,10 @@ export default class DataSetNavigator extends Component<DataSetNavigatorProps> {
options={[
...(selectedIndex?.timeFields.length > 0
? [
{
value: selectedIndex.timeFields[0].name,
text: selectedIndex.timeFields[0].name,
},
...selectedIndex?.timeFields.map((field: any) => ({
value: field.name,
text: field.name,
})),
]
: []),
{ value: 'no-time-filter', text: "I don't want to use a time filter" },
Expand Down

0 comments on commit 2b2553f

Please sign in to comment.