File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,8 @@ export const Header = memo(
142142 ) ;
143143 } ) ( ) }
144144 </ div >
145- { navItems . length !== 0 && (
145+ { ( quickAccessItems . length > 0 ||
146+ renderSearchInput !== undefined ) && (
146147 < div
147148 className = { cx (
148149 fr . cx ( "fr-header__navbar" ) ,
Original file line number Diff line number Diff line change @@ -63,17 +63,7 @@ function Story() {
6363 }
6464 serviceTitle = "Nom du site / service"
6565 homeLinkProps = { { "href" : "#" } }
66- quickAccessItems = { [
67- {
68- "iconId" : "fr-icon-account-circle-fill" ,
69- "text" : "something" ,
70- "linkProps" : {
71- "href" : "https://example.com"
72- }
73- } ,
74-
75- headerQuickAccessDisplaySettingsItem
76- ] }
66+ quickAccessItems = { [ headerQuickAccessDisplaySettingsItem ] }
7767 />
7868 < DisplaySettingsDialog />
7969 </ >
You can’t perform that action at this time.
0 commit comments