Tried to fix som thing with search

This commit is contained in:
Sansan committed 2023-08-19 12:24:10 +02:00
1 parent aae8de8fe9
commit b6f94794fe
3 files changed
+8 -2

No files matched your search

@@ -12,6 +12,7 @@
ref="inputField"
/>
</div>
<button @click="clearSearch()">Clear</button>
</div>
<transition-group
tag="ul"
@@ -50,6 +51,10 @@ export default {
}
},
methods: {
clearSearch() {
this.searchInputText = "";
this.searchGame();
},
searchGame() {
this.showingGamesList = [];
for (const game of this.allGamesList) {