Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

remove not eligible badge

Steven Teyd63748f30069
diff --git a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/marketplace/program-status-badge.tsx b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/marketplace/program-status-badge.tsx
index b862633bbf..09958622be 100644
--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/marketplace/program-status-badge.tsx
+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/marketplace/program-status-badge.tsx
@@ -49,9 +49,7 @@ export function ProgramStatusBadge({
const statusBadge = programEnrollmentStatus
? ProgramNetworkStatusBadges[programEnrollmentStatus]
- : (partner?.networkStatus &&
- !["approved", "trusted"].includes(partner.networkStatus)) ||
- reason === "requirementsNotMet"
+ : reason === "requirementsNotMet"
? notEligibleBadge
: null;
diff --git a/apps/web/app/api/integrations/route.ts b/apps/web/app/api/integrations/route.ts
index 3c3a677264..0cf6809c53 100644
--- a/apps/web/app/api/integrations/route.ts
+++ b/apps/web/app/api/integrations/route.ts
@@ -7,14 +7,6 @@ import { NextResponse } from "next/server";
export const GET = withWorkspace(
async ({ workspace }) => {
const integrations = await prisma.integration.findMany({
- select: {
- id: true,
- name: true,
- slug: true,
- verified: true,
- projectId: true,
- logo: true,
- },
where: {
installations: {
some: {