Commit 12e5ba1d authored by George Tsiolis's avatar George Tsiolis

Replace icons in FrequentItemsSearchInput vue component

parent 42034ca9
<script> <script>
import _ from 'underscore'; import _ from 'underscore';
import { mapActions } from 'vuex'; import { mapActions } from 'vuex';
import Icon from '~/vue_shared/components/icon.vue';
import eventHub from '../event_hub'; import eventHub from '../event_hub';
import frequentItemsMixin from './frequent_items_mixin'; import frequentItemsMixin from './frequent_items_mixin';
export default { export default {
components: {
Icon,
},
mixins: [frequentItemsMixin], mixins: [frequentItemsMixin],
data() { data() {
return { return {
...@@ -45,11 +49,12 @@ export default { ...@@ -45,11 +49,12 @@ export default {
type="search" type="search"
class="form-control" class="form-control"
/> />
<i <icon
v-if="!searchQuery" v-if="!searchQuery"
class="search-icon fa fa-fw fa-search" name="search"
size="12"
class="search-icon"
aria-hidden="true" aria-hidden="true"
> />
</i>
</div> </div>
</template> </template>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment