Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fixed

Marc Seitz94af71bbba07
diff --git a/components/links/links-table.tsx b/components/links/links-table.tsx
index 9be68294..e744a842 100644
--- a/components/links/links-table.tsx
+++ b/components/links/links-table.tsx
@@ -1025,7 +1025,7 @@ export default function LinksTable({
<CollapsibleTrigger
disabled={
isDataroom ||
- Number(nFormatter(link._count.views)) === 0
+ link._count.views === 0
}
>
<div className="flex items-center space-x-1 [&[data-state=open]>svg.chevron]:rotate-180">
@@ -1037,7 +1037,7 @@ export default function LinksTable({
</span>
</p>
{!isDataroom &&
- Number(nFormatter(link._count.views)) > 0 ? (
+ link._count.views > 0 ? (
<ChevronDown className="chevron h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" />
) : null}
</div>