Skip to content

Commit

Permalink
fix: search called multiple times (kodadot#6704)
Browse files Browse the repository at this point in the history
  • Loading branch information
floyd-li committed Aug 14, 2023
1 parent 7a8b57d commit b123f32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<div
class="fixed-stack is-flex is-align-items-center is-justify-content-space-between p-2">
<Search
v-if="isMobile"
ref="mobilSearchRef"
hide-filter
class="is-flex-grow-1 mt-3" />
Expand Down Expand Up @@ -71,6 +72,7 @@
<div class="navbar-start">
<div v-if="showSearchOnNavbar" class="navbar-item is-expanded">
<Search
v-if="!isMobile"
class="search-navbar is-flex-grow-1 pb-0 is-hidden-touch"
hide-filter
search-column-class="is-flex-grow-1" />
Expand Down

0 comments on commit b123f32

Please sign in to comment.