From e736261056d531a2742984954c7506512aba4068 Mon Sep 17 00:00:00 2001
From: Catalin Pit <25515812+catalinpit@users.noreply.github.com>
Date: Fri, 4 Oct 2024 09:07:20 +0300
Subject: [PATCH] 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.

## 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.
---
.../src/app/(dashboard)/documents/documents-page-view.tsx | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/apps/web/src/app/(dashboard)/documents/documents-page-view.tsx b/apps/web/src/app/(dashboard)/documents/documents-page-view.tsx
index aa65f5ce8..08bc44ec5 100644
--- a/apps/web/src/app/(dashboard)/documents/documents-page-view.tsx
+++ b/apps/web/src/app/(dashboard)/documents/documents-page-view.tsx
@@ -135,10 +135,7 @@ export const DocumentsPageView = async ({ searchParams = {}, team }: DocumentsPa
{value !== ExtendedDocumentStatus.ALL && (
-
- {Math.min(stats[value], 99)}
- {stats[value] > 99 && '+'}
-
+ {stats[value]}
)}