Skip to content

Commit

Permalink
minor changes addressing latest comments
Browse files Browse the repository at this point in the history
Signed-off-by: Eric <[email protected]>
  • Loading branch information
mengweieric committed Oct 6, 2023
1 parent 30fc3d6 commit 5ab664b
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,10 @@ export const getSourceOptions = (dataSource: DataSourceType, dataSet: DataSetTyp
ds: dataSource,
};
if (isIndexPatterns(dataSet)) {
const ip = dataSet as IndexPatternOption;
return {

Check warning on line 51 in src/plugins/data/public/data_sources/datasource_selector/datasource_selectable.tsx

View check run for this annotation

Codecov / codecov/patch

src/plugins/data/public/data_sources/datasource_selector/datasource_selectable.tsx#L51

Added line #L51 was not covered by tests
...optionContent,
label: ip.title,
value: ip.id,
label: dataSet.title,
value: dataSet.id,
};
}
return {
Expand Down

0 comments on commit 5ab664b

Please sign in to comment.