Parcourir la source

:bug: storing episode title instead of the whole tree

tags/0.9.0
J il y a 4 ans
Parent
révision
58300d357e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      vue-theme/src/store/modules/artist.js

+ 1
- 1
vue-theme/src/store/modules/artist.js Voir le fichier

68
     })
68
     })
69
     const flatPacked = []
69
     const flatPacked = []
70
     Object.keys(byEpisode).forEach(episode => {
70
     Object.keys(byEpisode).forEach(episode => {
71
-        flatPacked.push({ slug: byEpisode, title: byEpisode, inbetween: true })
71
+        flatPacked.push({ slug: episode, title: episode, inbetween: true })
72
         byEpisode[episode].forEach(artist => flatPacked.push(artist))
72
         byEpisode[episode].forEach(artist => flatPacked.push(artist))
73
     })
73
     })
74
     console.log('flatPacked :', flatPacked)
74
     console.log('flatPacked :', flatPacked)

Chargement…
Annuler
Enregistrer