diff --git a/public/index.html b/public/index.html index 6038aa2..4c99c4e 100644 --- a/public/index.html +++ b/public/index.html @@ -101,7 +101,6 @@ <form class="om-searchbar" @submit.prevent="search()"> <b-field> <b-autocomplete - id="searchtext" rounded v-model="searchtext" @keydown.native.enter="search" diff --git a/public/routes/msgCard.js b/public/routes/msgCard.js index ffd77a0..de5f075 100644 --- a/public/routes/msgCard.js +++ b/public/routes/msgCard.js @@ -5,7 +5,8 @@ Vue.component('MsgCard', { <img src="favicon.ico" width=20px height=20px> </h6> {{ msg.message }}<br><br> - <a v-for="tag in msg.tag" href="#">#{{ tag }} </a> + <!--<a v-for="tag in msg.tag" href="#">#{{ tag }} </a>--> + <b-button class="tags" type="is-text" v-for="tag in msg.tag>#{{ tag }} </b-button> </p> <div class="om-card-footer"> <div class="om-user-line"> <i class="material-icons">account_circle</i> @@ -22,7 +23,7 @@ Vue.component('MsgCard', { }, methods: { - myFilter: function() { + myFilter: function() { this.isActive = !this.isActive; }, }