diff --git a/front/package.json b/front/package.json index 34231d27b..a72bf7678 100644 --- a/front/package.json +++ b/front/package.json @@ -43,7 +43,7 @@ "vue-upload-component": "2.8.22", "vue3-gettext": "2.2.0-alpha.1", "vue3-lazyload": "0.2.5-beta", - "vuedraggable": "2.24.3", + "vuedraggable": "4.1.0", "vuex": "4.0.2", "vuex-persistedstate": "4.1.0", "vuex-router-sync": "5.0.0" diff --git a/front/src/components/Queue.vue b/front/src/components/Queue.vue index 9f1e32a54..7f5d39563 100644 --- a/front/src/components/Queue.vue +++ b/front/src/components/Queue.vue @@ -156,7 +156,7 @@ :title="labels.previousTrack" :aria-label="labels.previousTrack" class="control" - :disabled="emptyQueue" + :disabled="emptyQueue ? true : null" @click.prevent.stop="$store.dispatch('queue/previous')" > @@ -187,7 +187,7 @@ :title="labels.next" :aria-label="labels.next" class="control" - :disabled="!hasNext" + :disabled="hasNext ? true : null" @click.prevent.stop="$store.dispatch('queue/next')" > @@ -237,76 +237,78 @@
- - | -+ | |||||||
- ![]() |
+
- ![]() |
- - | -- - {{ time.durationFormatted(track.uploads[0].duration) }} - - | -
-
-
-
- |
- + + {{ time.durationFormatted(track.uploads[0].duration) }} + + | +
+
+
+
+ |
+
+
- {{ plt.index + 1 }} - | -
- ![]() |
-
- {{ plt.track.title }} - {{ plt.track.artist.name }} - |
-
- |
- |||
+ {{ plt.index + 1 }} + | +
+ ![]() |
+
+ {{ plt.track.title }} + {{ plt.track.artist.name }} + |
+
+ |
+