Skip to content

Commit

Permalink
Merge pull request #249 from adobecom/MWPW-167753
Browse files Browse the repository at this point in the history
fix(mwpw-167753): add a check to make sure search is enabled on mobil…
  • Loading branch information
sheridansunier authored Feb 13, 2025
2 parents 336057c + fbe6a74 commit 4e537b4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/app.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Chimera UI Libraries - Build 0.30.0 (2/12/2025, 11:38:38)
* Chimera UI Libraries - Build 0.30.1 (2/13/2025, 10:45:34)
*
*/
/******/ (function(modules) { // webpackBootstrap
Expand Down Expand Up @@ -53770,7 +53770,7 @@ var FiltersPanelTop = function FiltersPanelTop(props) {
* Whether the search bar should be displayed
* @type {Boolean}
*/
var shouldDisplaySearchBar = searchComponent && TABLET_OR_MOBILE_SCREEN_SIZE;
var shouldDisplaySearchBar = searchEnabled && searchComponent && TABLET_OR_MOBILE_SCREEN_SIZE;

/**
* Whether the "Clear all filters" button should be displayed
Expand Down
4 changes: 2 additions & 2 deletions dist/main.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/main.source.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion react/src/js/components/Consonant/Filters/Top/Panel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ const FiltersPanelTop = (props) => {
* Whether the search bar should be displayed
* @type {Boolean}
*/
const shouldDisplaySearchBar = searchComponent && TABLET_OR_MOBILE_SCREEN_SIZE;
const shouldDisplaySearchBar = searchEnabled && searchComponent && TABLET_OR_MOBILE_SCREEN_SIZE;

/**
* Whether the "Clear all filters" button should be displayed
Expand Down

0 comments on commit 4e537b4

Please sign in to comment.