mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
fix: show the full count of documents (#1382)
 A client requested it, and it makes sense showing the full count. This is how it was before.  <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Updated document status tab counts to display actual numbers without capping at 99 or using '+' symbols. - **Bug Fixes** - Improved clarity and accuracy of document status counts in the user interface. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@ -135,10 +135,7 @@ export const DocumentsPageView = async ({ searchParams = {}, team }: DocumentsPa
|
|||||||
<DocumentStatus status={value} />
|
<DocumentStatus status={value} />
|
||||||
|
|
||||||
{value !== ExtendedDocumentStatus.ALL && (
|
{value !== ExtendedDocumentStatus.ALL && (
|
||||||
<span className="ml-1 inline-block opacity-50">
|
<span className="ml-1 inline-block opacity-50">{stats[value]}</span>
|
||||||
{Math.min(stats[value], 99)}
|
|
||||||
{stats[value] > 99 && '+'}
|
|
||||||
</span>
|
|
||||||
)}
|
)}
|
||||||
</Link>
|
</Link>
|
||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
|
|||||||
Reference in New Issue
Block a user