From a5576d2ae91b2e7ff972897307540af05bc89514 Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Tue, 16 Jun 2020 11:53:16 -0400 Subject: [PATCH] fix issue where searchbar was always the mobile version at all widths --- .../DataListToolbar/DataListToolbar.jsx | 2 +- .../src/components/ListHeader/ListHeader.jsx | 2 +- .../src/components/Search/Search.test.jsx | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/awx/ui_next/src/components/DataListToolbar/DataListToolbar.jsx b/awx/ui_next/src/components/DataListToolbar/DataListToolbar.jsx index a5ab2f90bc..7db0bae778 100644 --- a/awx/ui_next/src/components/DataListToolbar/DataListToolbar.jsx +++ b/awx/ui_next/src/components/DataListToolbar/DataListToolbar.jsx @@ -58,7 +58,7 @@ class DataListToolbar extends React.Component { )} - } show={{ lg: 'show' }}> + } breakpoint="lg"> diff --git a/awx/ui_next/src/components/Search/Search.test.jsx b/awx/ui_next/src/components/Search/Search.test.jsx index 7099fba6b0..5eac1c532b 100644 --- a/awx/ui_next/src/components/Search/Search.test.jsx +++ b/awx/ui_next/src/components/Search/Search.test.jsx @@ -33,7 +33,7 @@ describe('', () => { {}} - collapseListedFiltersBreakpoint="md" + collapseListedFiltersBreakpoint="lg" > @@ -56,7 +56,7 @@ describe('', () => { {}} - collapseListedFiltersBreakpoint="md" + collapseListedFiltersBreakpoint="lg" > @@ -78,7 +78,7 @@ describe('', () => { {}} - collapseListedFiltersBreakpoint="md" + collapseListedFiltersBreakpoint="lg" > @@ -101,7 +101,7 @@ describe('', () => { {}} - collapseListedFiltersBreakpoint="md" + collapseListedFiltersBreakpoint="lg" > @@ -125,7 +125,7 @@ describe('', () => { {}} - collapseListedFiltersBreakpoint="md" + collapseListedFiltersBreakpoint="lg" > @@ -156,7 +156,7 @@ describe('', () => { {}} - collapseListedFiltersBreakpoint="md" + collapseListedFiltersBreakpoint="lg" > @@ -197,7 +197,7 @@ describe('', () => { {}} - collapseListedFiltersBreakpoint="md" + collapseListedFiltersBreakpoint="lg" > ', () => { {}} - collapseListedFiltersBreakpoint="md" + collapseListedFiltersBreakpoint="lg" >