This commit is contained in:
claudiulodro 2018-04-03 09:22:01 -07:00
parent bc8e85006c
commit 06e76d402a
2 changed files with 4 additions and 4 deletions

View File

@ -481,7 +481,7 @@ var ProductsBlockSettingsEditor = function (_React$Component3) {
wp.element.createElement( wp.element.createElement(
'h4', 'h4',
{ className: 'wc-products-settings__title' }, { className: 'wc-products-settings__title' },
wp.element.createElement(Dashicon, { icon: 'universal-access-alt' }), wp.element.createElement(Dashicon, { icon: 'screenoptions' }),
' ', ' ',
__('Products') __('Products')
), ),
@ -651,7 +651,7 @@ var ProductsBlockPreview = withAPIData(function (_ref) {
*/ */
registerBlockType('woocommerce/products', { registerBlockType('woocommerce/products', {
title: __('Products'), title: __('Products'),
icon: 'universal-access-alt', // @todo Needs a good icon. icon: 'screenoptions',
category: 'widgets', category: 'widgets',
attributes: { attributes: {

View File

@ -284,7 +284,7 @@ class ProductsBlockSettingsEditor extends React.Component {
return ( return (
<div className={ 'wc-products-settings ' + ( this.state.expanded_group ? 'expanded-group-' + this.state.expanded_group : '' ) }> <div className={ 'wc-products-settings ' + ( this.state.expanded_group ? 'expanded-group-' + this.state.expanded_group : '' ) }>
<h4 className="wc-products-settings__title"><Dashicon icon={ 'universal-access-alt' } /> { __( 'Products' ) }</h4> <h4 className="wc-products-settings__title"><Dashicon icon={ 'screenoptions' } /> { __( 'Products' ) }</h4>
{ heading } { heading }
@ -396,7 +396,7 @@ const ProductsBlockPreview = withAPIData( ( { attributes } ) => {
*/ */
registerBlockType( 'woocommerce/products', { registerBlockType( 'woocommerce/products', {
title: __( 'Products' ), title: __( 'Products' ),
icon: 'universal-access-alt', // @todo Needs a good icon. icon: 'screenoptions',
category: 'widgets', category: 'widgets',
attributes: { attributes: {