Skip to content

Commit

Permalink
clubs-payments shows slots when only it has least one item
Browse files Browse the repository at this point in the history
  • Loading branch information
aggre committed Jul 26, 2024
1 parent 2298519 commit 5d307f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/clubs-payments/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const getSlots = (async (options, __, utils) => {
checkoutUrl: `/fiat/yen/${bytes32Hex(item.payload)}`,
}))

return utils.factory === 'page'
return utils.factory === 'page' && items.length > 0
? [
{
slot: 'checkout:after:transaction-form',
Expand Down

0 comments on commit 5d307f2

Please sign in to comment.