Skip to content

Commit

Permalink
dense_vector icon looks better on a sparse_vector field type
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed Oct 6, 2023
1 parent ae9df2f commit d8086e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kbn-react-field/src/field_icon/field_icon.tsx
Expand Up @@ -70,7 +70,7 @@ export const typeToEuiIconMap: Partial<Record<string, EuiTokenProps>> = {
_source: { iconType: 'editorCodeBlock', color: 'gray' },
point: { iconType: 'tokenShape' }, // there is no separate icon for `point` yet
shape: { iconType: 'tokenShape' },
sparse_vector: { iconType: 'tokenRankFeatures' },
sparse_vector: { iconType: 'tokenDenseVector' },
string: { iconType: 'tokenString' },
text: { iconType: 'tokenString' },
keyword: { iconType: 'tokenKeyword' },
Expand Down

0 comments on commit d8086e8

Please sign in to comment.