diff --git a/src/record/widgets/company-customer-request-count-widget.tsx b/src/record/widgets/company-customer-request-count-widget.tsx
index 24e2cc9..de67a3d 100644
--- a/src/record/widgets/company-customer-request-count-widget.tsx
+++ b/src/record/widgets/company-customer-request-count-widget.tsx
@@ -41,15 +41,13 @@ const LoadingWidget = ({recordId}: {recordId: string}) => {
Customer requests disabled
Click to go to Linear settings
>
- ) : customerNeeds !== null ? (
+ ) : (
<>
{name}
{customerNeeds} customer request{customerNeeds === 1 ? "" : "s"}
>
- ) : (
- {name}
)}
)
@@ -79,7 +77,7 @@ async function load(recordId: string) {
])
const domain = companyResult?.company?.domains?.[0]
const name = companyResult?.company?.name ?? domain ?? "Unnamed Company"
- const customerNeeds = customer ? await getCustomerNeedsCount(customer.id) : null
+ const customerNeeds = customer ? await getCustomerNeedsCount(customer.id) : 0
return {
name,
customerNeeds,