Sfoglia il codice sorgente

:recycle: adding a bunch of debug logs

tags/0.9.0
J 4 anni fa
parent
commit
3a58875048
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5
    0
      vue-theme/src/store/modules/artist.js

+ 5
- 0
vue-theme/src/store/modules/artist.js Vedi File

@@ -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…
Annulla
Salva