Skip to content

Commit

Permalink
Split Date and Approximate Title
Browse files Browse the repository at this point in the history
  • Loading branch information
natyusha committed Nov 6, 2024
1 parent a903fe9 commit 38b7fa3
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions src/components/Collection/Tmdb/TopPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,21 @@ const TopPanel = (props: Props) => {
</div>
<div className="flex items-center gap-x-2">
<div className="rounded-md bg-panel-text-warning px-2 text-button-primary-text">
{(matchRatingCounts.DateMatches ?? 0) + (matchRatingCounts.TitleKindaMatches ?? 0)
+ (matchRatingCounts.DateAndTitleKindaMatches ?? 0)}
{matchRatingCounts.DateMatches ?? 0}
</div>
Date + Approx. Title + Approx. Date & Title (D/~T/~DT)
Date (D)
</div>
<div className="flex items-center gap-x-2">
<div className="rounded-md bg-panel-text-warning px-2 text-button-primary-text">
{matchRatingCounts.TitleKindaMatches ?? 0}
</div>
Approx. Title (~T)
</div>
<div className="flex items-center gap-x-2">
<div className="rounded-md bg-panel-text-warning px-2 text-button-primary-text">
{matchRatingCounts.DateAndTitleKindaMatches ?? 0}
</div>
Date & Approx. Title (~DT)
</div>
<div className="flex items-center gap-x-2">
<div className="rounded-md bg-panel-text-primary px-2 text-button-primary-text">
Expand Down

0 comments on commit 38b7fa3

Please sign in to comment.