Tried to fix som thing with search

This commit is contained in:
2023-08-19 12:24:10 +02:00
parent aae8de8fe9
commit b6f94794fe
3 changed files with 8 additions and 2 deletions

View File

@@ -29,6 +29,7 @@
<script>
import { mapState } from "vuex";
import arne from "../../arne.js";
import InspirationWindow from "../items/InspirationWindow.vue";
export default {
data() {
return {
@@ -51,6 +52,7 @@ export default {
methods: {
async randomizeTrack() {
console.log("Randomizing track");
InspirationWindow.methods.clearSearch();
/* Prevents anyone from changing the winning score after the round has started */
if (this.roundStarted === false) {
this.$store.dispatch("setRoundStarted", true);