Unify segments label appearance in form editor

[MAILPOET-2463]
This commit is contained in:
Rostislav Wolny
2020-01-09 15:10:24 +01:00
committed by Pavel Dohnal
parent e7e116c83d
commit 939b646791

View File

@@ -1,7 +1,6 @@
import React from 'react';
import {
CheckboxControl,
BaseControl,
} from '@wordpress/components';
import PropTypes from 'prop-types';
import MailPoet from 'mailpoet';
@@ -36,10 +35,9 @@ const SegmentSelectEdit = ({ attributes, setAttributes }) => {
],
})}
/>
<BaseControl
label={attributes.label}
className="mailpoet_segments_label"
/>
<span className="mailpoet_segment_label">
{attributes.label}
</span>
{renderValues()}
</>
);