Pārlūkot izejas kodu

:bug: missing async def

tags/0.9.0
J 4 gadus atpakaļ
vecāks
revīzija
568152b669
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      vue-theme/src/pages/list.vue

+ 2
- 2
vue-theme/src/pages/list.vue Parādīt failu

77
             this.$store.commit(`CLEAR_${uppercaseType}`)
77
             this.$store.commit(`CLEAR_${uppercaseType}`)
78
             this.$store.commit(`${uppercaseType}_LOADED`)
78
             this.$store.commit(`${uppercaseType}_LOADED`)
79
         },
79
         },
80
-        loadMorePosts() {
80
+        async loadMorePosts() {
81
             console.log('trying to load for: ', this.$route)
81
             console.log('trying to load for: ', this.$route)
82
             const type = typeFromRoute(this.$route)
82
             const type = typeFromRoute(this.$route)
83
             if(!type) return console.warn(`type: ${type} not found...`)
83
             if(!type) return console.warn(`type: ${type} not found...`)
150
             if(!footerEl) return
150
             if(!footerEl) return
151
             const onIntersect = entries => {
151
             const onIntersect = entries => {
152
                 if(this.isFetching) return
152
                 if(this.isFetching) return
153
-                
153
+
154
                 this.isFetching = true
154
                 this.isFetching = true
155
                 entries.forEach(({ target, isIntersecting }) => {
155
                 entries.forEach(({ target, isIntersecting }) => {
156
                     if (!isIntersecting) return
156
                     if (!isIntersecting) return

Notiek ielāde…
Atcelt
Saglabāt