From 2cdf26b028ddf29f926e01b2d68df468d9dcc2e7 Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@eliotberriot.com>
Date: Tue, 7 May 2019 12:05:18 +0200
Subject: [PATCH] Fixed small issues with queue
---
front/src/components/audio/Player.vue | 3 +++
1 file changed, 3 insertions(+)
diff --git a/front/src/components/audio/Player.vue b/front/src/components/audio/Player.vue
index 81bdb91d2..0562b90a0 100644
--- a/front/src/components/audio/Player.vue
+++ b/front/src/components/audio/Player.vue
@@ -674,6 +674,9 @@ export default {
watch: {
currentTrack: {
async handler (newValue, oldValue) {
+ if (newValue === oldValue) {
+ return
+ }
clearTimeout(this.playTimeout)
let self = this
if (this.currentSound) {
--
GitLab