Skip to content

Commit

Permalink
set value on data view create, sort options
Browse files Browse the repository at this point in the history
  • Loading branch information
darnautov committed Apr 16, 2024
1 parent 6ff569b commit 1d839bc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ export const InferenceInputFormIndexControls: FC<Props> = ({
text: dataView.getIndexPattern(),
value: dataView.id!,
},
];
].sort((a, b) => a.text.localeCompare(b.text));
});
setSelectedDataViewId(dataView.id!);
}}
/>
</EuiFlexItem>
Expand Down

0 comments on commit 1d839bc

Please sign in to comment.