Skip to content

Commit

Permalink
add textName
Browse files Browse the repository at this point in the history
  • Loading branch information
fsimonjetz committed Sep 25, 2023
1 parent 4239b44 commit 69d315a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/fragmentarium/domain/ngramMatching.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ import { ChapterId } from 'transliteration/domain/chapter-id'

export type NgramScore = ChapterId & {
overlap: number
textName: string
}
4 changes: 2 additions & 2 deletions src/fragmentarium/ui/ngram-matching/NgramMatching.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ function NgramMatching({
<Col>
{
<GenreInfoRow
chapterId={_.omit(score, 'overlap')}
textName={''}
chapterId={_.omit(score, 'overlap', 'textName')}
textName={score.textName}
/>
}
</Col>
Expand Down

0 comments on commit 69d315a

Please sign in to comment.