mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-07 19:54:15 +08:00
Hide logo position when not available
This commit is contained in:
parent
baa3afeb9b
commit
2f1c8f6c57
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ export default function Edit( { attributes, clientId, setAttributes } ) {
|
|||
value={logo}
|
||||
onChange={(value) => setAttributes({logo: value})}
|
||||
/>)}
|
||||
{ !isFlex && (<SelectControl
|
||||
{ !isFlex && logo === 'primary' && (<SelectControl
|
||||
label={__('Logo Position', 'woocommerce-paypal-payments')}
|
||||
options={[
|
||||
{ label: __( 'Left', 'woocommerce-paypal-payments' ), value: 'left' },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue