Переглянути джерело

:poop: adding a dumb log to check staging

tags/0.9.0
J 4 роки тому
джерело
коміт
50293a1edc
1 змінених файлів з 2 додано та 0 видалено
  1. 2
    0
      vue-theme/src/pages/single.vue

+ 2
- 0
vue-theme/src/pages/single.vue Переглянути файл

225
             //  navigating TO a single page
225
             //  navigating TO a single page
226
             const path = to.fullPath.split('/').filter(p => p)
226
             const path = to.fullPath.split('/').filter(p => p)
227
             const hasSort = path.filter(fragment => Object.values(sortTypes).includes(fragment))
227
             const hasSort = path.filter(fragment => Object.values(sortTypes).includes(fragment))
228
+            console.log('hasSort :', hasSort)
229
+            console.log('path :', path)
228
             if (path.length < 1 && hasSort.length < 1) {
230
             if (path.length < 1 && hasSort.length < 1) {
229
                 this._clearHero(this.$store)
231
                 this._clearHero(this.$store)
230
                 this.loadPostData()
232
                 this.loadPostData()

Завантаження…
Відмінити
Зберегти