From 5d307f29481bb1f8126761c58ada766f95dd0d7e Mon Sep 17 00:00:00 2001 From: Aggre Date: Fri, 26 Jul 2024 10:23:54 +0900 Subject: [PATCH] clubs-payments shows slots when only it has least one item --- src/plugins/clubs-payments/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/clubs-payments/index.ts b/src/plugins/clubs-payments/index.ts index ed5303d6b..31df1e9ef 100644 --- a/src/plugins/clubs-payments/index.ts +++ b/src/plugins/clubs-payments/index.ts @@ -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',