Skip to content

Commit

Permalink
fix: fix unrecognised files count on dashboard widget
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Nov 21, 2023
1 parent c971e58 commit ec679a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/dashboard/panels/UnrecognizedFiles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ function UnrecognizedFiles() {
<div className="flex w-full flex-row justify-between">
<div>Unrecognized Files</div>
<div>
<span className="text-panel-text-important">{files.List.length}</span>
<span className="text-panel-text-important">{files.Total}</span>
&nbsp;
<span>
{files.List.length === 1 ? 'File' : 'Files'}
{files.Total === 1 ? 'File' : 'Files'}
</span>
</div>
</div>
Expand Down

0 comments on commit ec679a2

Please sign in to comment.