Skip to content

Commit

Permalink
Fixed numbering (elastic#114863)
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonStoltz authored and artem-shelkovnikov committed Oct 20, 2021
1 parent 5debe6b commit c8cc968
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const CurationSuggestion: React.FC = () => {
result={result}
isMetaEngine={isMetaEngine}
schemaForTypeHighlights={engine.schema}
resultPosition={index + 1}
resultPosition={index + existingCurationResults.length + 1}
/>
</EuiFlexItem>
))}
Expand All @@ -152,7 +152,7 @@ export const CurationSuggestion: React.FC = () => {
result={result}
isMetaEngine={isMetaEngine}
schemaForTypeHighlights={engine.schema}
resultPosition={index + 1}
resultPosition={index + suggestedPromotedDocuments.length + 1}
/>
</EuiFlexItem>
))}
Expand Down

0 comments on commit c8cc968

Please sign in to comment.