Skip to content

Commit

Permalink
EZP-31916: Filters redesign (#1497)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michał Grabowski authored Sep 18, 2020
1 parent 7ea75f8 commit ef90889
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,13 @@ const Filters = ({ isCollapsed, search }) => {
<div className={wrapperClassName}>
<div className="ez-filters__row">
<div className="ez-filters__item ez-filters__item--content-type">
<label className="ez-filters__item-label">{contentTypeLabel}</label>
<label className="ez-label">{contentTypeLabel}</label>
<ContentTypeSelector />
</div>
</div>
<div className="ez-filters__row">
<div className="ez-filters__item ez-filters__item--section">
<label className="ez-filters__item-label">{sectionLabel}</label>
<label className="ez-label">{sectionLabel}</label>
<select className="ez-filters__select form-control" onChange={updateSection} value={selectedSection}>
<option value={''}>{anySectionLabel}</option>
{Object.entries(window.eZ.adminUiConfig.sections).map(([sectionIdentifier, sectionName]) => {
Expand All @@ -136,7 +136,7 @@ const Filters = ({ isCollapsed, search }) => {
</select>
</div>
<div className="ez-filters__item ez-filters__item--subtree">
<label className="ez-filters__item-label">{subtreeLabel}:</label>
<label className="ez-label">{subtreeLabel}:</label>
<div>
{renderSelectContentButton()}
{renderSubtreeBreadcrumbs()}
Expand Down

0 comments on commit ef90889

Please # to comment.