Преглед на файлове

:bug: forgot to declare the var first

tags/0.9.0
J преди 4 години
родител
ревизия
ef8feb8a44
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      vue-theme/src/store/modules/artist.js

+ 1
- 1
vue-theme/src/store/modules/artist.js Целия файл

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] = []

Loading…
Отказ
Запис