diff --git a/modules/ppcp-settings/resources/js/Components/ReusableComponents/Fields/OptionSelector.js b/modules/ppcp-settings/resources/js/Components/ReusableComponents/Fields/OptionSelector.js index 7faf68a0c..ba369d0f3 100644 --- a/modules/ppcp-settings/resources/js/Components/ReusableComponents/Fields/OptionSelector.js +++ b/modules/ppcp-settings/resources/js/Components/ReusableComponents/Fields/OptionSelector.js @@ -50,6 +50,7 @@ const OptionItem = ( { const boxClassName = classNames( 'ppcp-r-select-box', { 'ppcp--selected': isSelected, 'ppcp--multiselect': isMulti, + 'ppcp--no-title': ! itemTitle, } ); return ( @@ -64,7 +65,9 @@ const OptionItem = ( {
- { itemTitle } + { itemTitle && ( + { itemTitle } + ) }
{ itemDescription }