Game search clean up

This commit is contained in:
Roman Cervantes 2019-10-01 15:26:41 -07:00
parent 1b666efe44
commit ca6ff559de

View file

@ -1,5 +1,5 @@
<template lang="html"> <template lang="html">
<modal large :title="$t('list.addGame')"> <modal padded :title="$t('list.addGame')" @open="clear">
<button :class="buttonClass" :title="$t('list.addGame')"> <button :class="buttonClass" :title="$t('list.addGame')">
<i class="fas fa-plus" /> <i class="fas fa-plus" />
</button> </button>
@ -137,7 +137,7 @@ export default {
methods: { methods: {
clear() { clear() {
this.searchText = null; this.searchText = '';
this.$store.commit('CLEAR_SEARCH_RESULTS'); this.$store.commit('CLEAR_SEARCH_RESULTS');
}, },
@ -173,10 +173,6 @@ export default {
<style lang="scss" rel="stylesheet/scss" scoped> <style lang="scss" rel="stylesheet/scss" scoped>
@import "~styles/styles"; @import "~styles/styles";
.game-search {
padding: 0 $gp $gp;
}
.add-game-button { .add-game-button {
position: absolute; position: absolute;
right: 0; right: 0;