Tried to fix som thing with search
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user