Przeglądaj źródła

:recycle: adding a bunch of debug logs

tags/0.9.0
J 4 lat temu
rodzic
commit
3a58875048
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5
    0
      vue-theme/src/store/modules/artist.js

+ 5
- 0
vue-theme/src/store/modules/artist.js Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz