Fixed bug with clear search
This commit is contained in:
5
.idea/codeStyles/codeStyleConfig.xml
generated
Normal file
5
.idea/codeStyles/codeStyleConfig.xml
generated
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<component name="ProjectCodeStyleConfiguration">
|
||||||
|
<state>
|
||||||
|
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
|
||||||
|
</state>
|
||||||
|
</component>
|
||||||
@@ -29,7 +29,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import { mapState } from "vuex";
|
import { mapState } from "vuex";
|
||||||
import arne from "../../arne.js";
|
import arne from "../../arne.js";
|
||||||
import InspirationWindow from "../items/InspirationWindow.vue";
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -52,7 +51,6 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
async randomizeTrack() {
|
async randomizeTrack() {
|
||||||
console.log("Randomizing track");
|
console.log("Randomizing track");
|
||||||
InspirationWindow.methods.clearSearch();
|
|
||||||
/* Prevents anyone from changing the winning score after the round has started */
|
/* Prevents anyone from changing the winning score after the round has started */
|
||||||
if (this.roundStarted === false) {
|
if (this.roundStarted === false) {
|
||||||
this.$store.dispatch("setRoundStarted", true);
|
this.$store.dispatch("setRoundStarted", true);
|
||||||
@@ -76,7 +74,6 @@ export default {
|
|||||||
}
|
}
|
||||||
//Update the source file for the media player (binded property to Audio tag in the template)
|
//Update the source file for the media player (binded property to Audio tag in the template)
|
||||||
this.currentTrackSrcFile = window.URL.createObjectURL(copyOfPlaylist[0]);
|
this.currentTrackSrcFile = window.URL.createObjectURL(copyOfPlaylist[0]);
|
||||||
/* this.$nextTick(() => {}); */
|
|
||||||
if (!trackAddedToQue) {
|
if (!trackAddedToQue) {
|
||||||
if (this.addPlayed) {
|
if (this.addPlayed) {
|
||||||
await this.APIaddPlayed();
|
await this.APIaddPlayed();
|
||||||
|
|||||||
Reference in New Issue
Block a user