Skip to content

Commit

Permalink
show search only if connected
Browse files Browse the repository at this point in the history
  • Loading branch information
Arielgordon123 committed Jul 19, 2020
1 parent 29264ec commit 489205c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
<v-app-bar-nav-icon aria-label="Menu" @click.stop="drawer = !drawer" />
<v-toolbar-title>{{ title }}</v-toolbar-title>
<v-spacer></v-spacer>
<div class="search-box" v-if="search">
<div class="search-box" v-if="search && this.$store.state.user">
<!-- <v-text-field
label="Solo"
v-model="searchText"
solo
width="10rm"
@blur="search = false"
></v-text-field> -->
<search v-if="this.$store.state.user" v-model="search"/>
<search v-model="search"/>
</div>
<v-btn icon @click="openSearch" aria-label="Search" v-else>
<v-icon>mdi-magnify</v-icon>
Expand Down

0 comments on commit 489205c

Please sign in to comment.