From b6b332d122ab5fdfa52870499adece0b45783969 Mon Sep 17 00:00:00 2001 From: federico-tocci-dxc Date: Mon, 18 Nov 2024 12:32:04 +0100 Subject: [PATCH] fix(Z1328): fix varie tabella cittadini mobile 20241118 --- .../src/components/AccordionRow/accordionRow.tsx | 2 +- .../src/components/SearchBar/searchBar.tsx | 3 +-- .../src/components/Table/view/tableMobile.tsx | 16 +++++++++------- .../genericSearchFilterTableLayout.tsx | 3 +-- .../pages/administrator/CitizensArea/utils.ts | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/fe-piattaforma/src/components/AccordionRow/accordionRow.tsx b/fe-piattaforma/src/components/AccordionRow/accordionRow.tsx index a66c0988f..81190fe55 100644 --- a/fe-piattaforma/src/components/AccordionRow/accordionRow.tsx +++ b/fe-piattaforma/src/components/AccordionRow/accordionRow.tsx @@ -238,7 +238,7 @@ const AccordionRow: React.FC = ({ .map((x, index) => (
- {t(x)}:{' '} + {t(x.replace(/([a-z])([A-Z])/g, '$1 $2'))}:{' '} {innerInfo[x]}
diff --git a/fe-piattaforma/src/components/SearchBar/searchBar.tsx b/fe-piattaforma/src/components/SearchBar/searchBar.tsx index 83214ec07..99cb2e868 100644 --- a/fe-piattaforma/src/components/SearchBar/searchBar.tsx +++ b/fe-piattaforma/src/components/SearchBar/searchBar.tsx @@ -252,7 +252,7 @@ const SearchBar: React.FC = (props) => { )} field={id} onInputChange={onInputQueryChange} - placeholder={device.mediaIsPhone ? '' : placeholder} + placeholder={placeholder} value={searchValue} maximum={ searchType === selectedSteps.FISCAL_CODE ? 16 : undefined @@ -290,7 +290,6 @@ const SearchBar: React.FC = (props) => { } }} > - {!searchValue && title} {/* {tooltip && (
diff --git a/fe-piattaforma/src/components/Table/view/tableMobile.tsx b/fe-piattaforma/src/components/Table/view/tableMobile.tsx index 6e19cb9ed..21478230d 100644 --- a/fe-piattaforma/src/components/Table/view/tableMobile.tsx +++ b/fe-piattaforma/src/components/Table/view/tableMobile.tsx @@ -88,13 +88,15 @@ const TableMobile: React.FC = ({
{valuesForMobile ? ( valuesForMobile.map((item, index: number) => ( - + + +
+
)) ) : (
diff --git a/fe-piattaforma/src/components/genericSearchFilterTableLayout/genericSearchFilterTableLayout.tsx b/fe-piattaforma/src/components/genericSearchFilterTableLayout/genericSearchFilterTableLayout.tsx index cfb211af6..bb1eed177 100644 --- a/fe-piattaforma/src/components/genericSearchFilterTableLayout/genericSearchFilterTableLayout.tsx +++ b/fe-piattaforma/src/components/genericSearchFilterTableLayout/genericSearchFilterTableLayout.tsx @@ -257,8 +257,7 @@ const GenericSearchFilterTableLayout: React.FC<