Display info message when there are no campaign types.
This commit is contained in:
parent
6446053784
commit
e4da8cba09
|
@ -60,10 +60,12 @@ export const CreateNewCampaignModal = ( props: CreateCampaignModalProps ) => {
|
|||
>
|
||||
<div className="woocommerce-marketing-new-campaigns">
|
||||
<div className="woocommerce-marketing-new-campaigns__question-label">
|
||||
{ __(
|
||||
{ !! campaignTypes?.length
|
||||
? __(
|
||||
'Where would you like to promote your products?',
|
||||
'woocommerce'
|
||||
) }
|
||||
)
|
||||
: __( 'No campaign types found.', 'woocommerce' ) }
|
||||
</div>
|
||||
<div>
|
||||
{ campaignTypes?.map( ( el ) => (
|
||||
|
|
Loading…
Reference in New Issue