Преглед изворни кода

:recycle: adding a bunch of debug logs

tags/0.9.0
J пре 4 година
родитељ
комит
3a58875048
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5
    0
      vue-theme/src/store/modules/artist.js

+ 5
- 0
vue-theme/src/store/modules/artist.js Прегледај датотеку

@@ -42,7 +42,12 @@ const _arrangeByAlpha = artistsList => {
42 42
         const lastWord = artist.slug.split('-').filter(c => c).pop()
43 43
         const firstCharaOfLastWord = lastWord[0]
44 44
         const firstCharaOfSortWord = artist.sortname[0]
45
+        
46
+        console.log(firstCharaOfLastWord, firstCharaOfSortWord)
47
+
45 48
         const charaIndex = alphabet.indexOf(firstCharaOfLastWord) < alphabet.indexOf(firstCharaOfSortWord) ? alphabet.indexOf(firstCharaOfLastWord) : alphabet.indexOf(firstCharaOfSortWord)
49
+        
50
+        console.log(charaIndex)
46 51
         // The first artist you've seen in this batch
47 52
         if(i == 0) {
48 53
             seen = charaIndex

Loading…
Откажи
Сачувај