Skip to content

Commit

Permalink
can be default if only approved (#2605)
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-justin authored Dec 20, 2023
1 parent 4903e8a commit 705a9d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Admin/Charity/Banking/PayoutMethod/Loaded.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default function Loaded(props: BankingApplicationDetails) {
delete
</button>
<button
disabled={isLoading || isDefault || isRejected}
disabled={isLoading || isDefault || !isApproved}
onClick={() => setDefault()}
type="button"
className="px-4 py-1 min-w-[6rem] font-work text-sm uppercase btn-orange"
Expand Down

0 comments on commit 705a9d1

Please sign in to comment.