[web] Fix inability to start from a specific track of an album

In the album view, whatever the chosen track, the player always started from the first track of the album.
This commit is contained in:
Alain Nussbaumer 2023-06-03 19:22:02 +02:00
parent 6bf40c139d
commit 1b71cf2a15

View File

@ -1,5 +1,5 @@
<template> <template>
<template v-for="track in tracks" :key="track.itemId"> <template v-for="(track, index) in tracks" :key="track.itemId">
<div v-if="!track.isItem" class="mt-6 mb-5 py-2"> <div v-if="!track.isItem" class="mt-6 mb-5 py-2">
<span <span
:id="'index_' + track.groupKey" :id="'index_' + track.groupKey"