Skip to content

Commit

Permalink
chore(4870): display billing download button iff approved
Browse files Browse the repository at this point in the history
  • Loading branch information
junminahn committed Feb 10, 2025
1 parent 759b65a commit d147fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app/billing/all/TableBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default function TableBody({ data, metadata, session }: TableProps) {
New
</Badge>
)}
{session.permissions.downloadBillingMou && (
{session.permissions.downloadBillingMou && billing.signed && billing.approved && (
<Button
loading={downloading}
color="primary"
Expand Down

0 comments on commit d147fcd

Please sign in to comment.