Skip to content

Commit

Permalink
Merge pull request #92 from sharetribe/fix-columns-in-section-features
Browse files Browse the repository at this point in the history
Fix columns in section features
  • Loading branch information
OtterleyW authored Apr 28, 2020
2 parents b6fe465 + d4c590d commit ff3c18f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ https://github.com/sharetribe/flex-template-web/

## Upcoming version 2020-XX-XX

- [fix] Check length of `selectedConfigOptions` in `SectionFeaturesMaybe` to choose between one and
two column layout. [#92](https://github.com/sharetribe/ftw-hourly/pull/90)

## [v6.5.0] 2020-04-17

- [change] Reorganize search filters [#89](https://github.com/sharetribe/ftw-hourly/pull/89)
Expand Down
2 changes: 1 addition & 1 deletion src/containers/ListingPage/SectionFeaturesMaybe.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const SectionFeaturesMaybe = props => {
id="ListingPage.yogaStyles"
options={selectedConfigOptions}
selectedOptions={selectedOptions}
twoColumns={selectedConfigOptions > 5}
twoColumns={selectedConfigOptions.length > 5}
/>
</div>
);
Expand Down

0 comments on commit ff3c18f

Please sign in to comment.