From f3f4f709dc2be3c7dd03abf996dc5baa7d80e5fa Mon Sep 17 00:00:00 2001 From: RenonDis Date: Thu, 12 Jul 2018 16:04:11 +0200 Subject: [PATCH] fix shuffle loading too big --- front/src/components/audio/Player.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/front/src/components/audio/Player.vue b/front/src/components/audio/Player.vue index b9c402240..84b076208 100644 --- a/front/src/components/audio/Player.vue +++ b/front/src/components/audio/Player.vue @@ -130,7 +130,7 @@ :title="labels.shuffle" v-if="!showVolume" class="two wide column control"> -
+
@@ -195,7 +195,8 @@ export default { updateProgress: 'player/updateProgress' }), shuffle () { - if (this.isShuffling) { + let disabled = this.queue.tracks.length === 0 + if (this.isShuffling || disabled) { return } let self = this