Skip to content

Commit

Permalink
fix: restore showSearch prop for desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
mpleroux committed Nov 15, 2024
1 parent 524a2cb commit ef887a2
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions es-vue-base/src/lib-components/EsNavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,13 @@
</es-nav-bar-top-level-menu>
<div
id="navBarSearchIcon"
class="nav-item d-none d-lg-block pt-100">
class="nav-item d-none pt-100"
:class="{
'd-lg-block': showSearch,
}">
<es-button
variant="link"
variant="
link"
aria-label="Open search bar"
class="nav-button nav-link search-toggle-desktop d-none d-lg-flex flex-nowrap py-100">
<icon-search
Expand Down Expand Up @@ -308,6 +312,10 @@ export default {
type: Object,
required: true,
},
showSearch: {
type: Boolean,
default: false,
},
},
mounted() {
// CUSTOM GLOBAL-NAV SCRIPT STARTS
Expand Down

0 comments on commit ef887a2

Please sign in to comment.