Bladeren bron

:bug: forgot to declare the var first

tags/0.9.0
J 4 jaren geleden
bovenliggende
commit
ef8feb8a44
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1
    1
      vue-theme/src/store/modules/artist.js

+ 1
- 1
vue-theme/src/store/modules/artist.js Bestand weergeven

18
 }
18
 }
19
 
19
 
20
 const _arrangeByMaterial = artistsList => {
20
 const _arrangeByMaterial = artistsList => {
21
-    byMaterial = {}
21
+    const byMaterial = {}
22
     artistsList.forEach(artist => {
22
     artistsList.forEach(artist => {
23
         artist.materials.forEach(mat => {
23
         artist.materials.forEach(mat => {
24
             if(!byMaterial[mat]) byMaterial[mat] = []
24
             if(!byMaterial[mat]) byMaterial[mat] = []

Laden…
Annuleren
Opslaan