Hide payments recommendation when no extensions are available (#50949)
* Hide payment recommendations when no extensions are available * Changelog
This commit is contained in:
parent
9e40710482
commit
b4322595c5
|
@ -205,6 +205,10 @@ const PaymentRecommendations: React.FC = () => {
|
|||
};
|
||||
} );
|
||||
|
||||
if ( pluginsList.length === 0 ) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<Card size="medium" className="woocommerce-recommended-payments-card">
|
||||
<CardHeader>
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Hide payment recommendations when no extensions are available
|
Loading…
Reference in New Issue