Skip to content

Commit ceb99d7

Browse files
github-actions[bot]chasprowebdevMarfuen
authored
fix(portal): show only published policies on portal (#1520)
Co-authored-by: chasprowebdev <chasgarciaprowebdev@gmail.com> Co-authored-by: Mariano Fuentes <marfuen98@gmail.com>
1 parent e6ab174 commit ceb99d7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/portal/src/app/(app)/(home)/[orgId]/components/OrganizationDashboard.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export async function OrganizationDashboard({
2828
where: {
2929
organizationId: organizationId,
3030
isRequiredToSign: true, // Keep original logic for required policies
31+
status: 'published',
3132
},
3233
});
3334

0 commit comments

Comments
 (0)