diff --git a/apps/web/src/app/(dashboard)/documents/page.tsx b/apps/web/src/app/(dashboard)/documents/page.tsx
index c36aa644d..9a04d7ba1 100644
--- a/apps/web/src/app/(dashboard)/documents/page.tsx
+++ b/apps/web/src/app/(dashboard)/documents/page.tsx
@@ -78,19 +78,6 @@ export default async function DocumentsPage({ searchParams = {} }: DocumentsPage
-
- All
-
-
-
-
-
-
-
- {Math.min(stats.DRAFT, 99)}
-
-
-
@@ -111,6 +98,20 @@ export default async function DocumentsPage({ searchParams = {} }: DocumentsPage
+
+
+
+
+
+
+ {Math.min(stats.DRAFT, 99)}
+
+
+
+
+
+ All
+
diff --git a/apps/web/src/components/formatter/document-status.tsx b/apps/web/src/components/formatter/document-status.tsx
index fbe1e1a3b..4e1ccf742 100644
--- a/apps/web/src/components/formatter/document-status.tsx
+++ b/apps/web/src/components/formatter/document-status.tsx
@@ -13,11 +13,6 @@ type FriendlyStatus = {
};
const FRIENDLY_STATUS_MAP: Record = {
- DRAFT: {
- label: 'Draft',
- icon: File,
- color: 'text-yellow-500',
- },
PENDING: {
label: 'Pending',
icon: Clock,
@@ -28,6 +23,11 @@ const FRIENDLY_STATUS_MAP: Record = {
icon: CheckCircle2,
color: 'text-green-500',
},
+ DRAFT: {
+ label: 'Draft',
+ icon: File,
+ color: 'text-yellow-500',
+ },
};
export type DocumentStatusProps = HTMLAttributes & {