소스 검색

:recycle: turning off loading for all loadMore calls

tags/0.9.0
J 4 년 전
부모
커밋
eb5a0994ba

+ 0
- 1
vue-theme/src/store/modules/artist.js 파일 보기

@@ -27,7 +27,6 @@ const actions = {
27 27
         return api.getByType({ type: 'artist', sort: sortType, params, cb: storeFetch })
28 28
     },
29 29
     getMoreArtists({ commit }, { sortType, params }) {
30
-        // commit('ARTISTS_LOADED', false)
31 30
         const storeFetch = (artists => {
32 31
             commit('ADD_TO_FETCHED_ARTISTS', { artists })
33 32
             commit('ARTISTS_LOADED', true)

+ 0
- 1
vue-theme/src/store/modules/event.js 파일 보기

@@ -33,7 +33,6 @@ const actions = {
33 33
         }, params })
34 34
     },
35 35
     getMoreEvents({ commit }, { sortType, params }) {
36
-        commit('EVENTS_LOADED', false)
37 36
         return api.getByType({ type: 'event', sort: sortType, cb: events => {
38 37
             commit('ADD_TO_FETCHED_EVENTS', { events })
39 38
             commit('EVENTS_LOADED', true)

+ 0
- 1
vue-theme/src/store/modules/exhibition.js 파일 보기

@@ -35,7 +35,6 @@ const actions = {
35 35
         }, params })
36 36
     },
37 37
     getMoreExhibitions({ commit },{ sortType, params }) {
38
-        commit('EXHIBITIONS_LOADED', false)
39 38
         return api.getByType({ type: 'exhibition', sort: sortType, cb: exhibitions => {
40 39
             commit('ADD_TO_FETCHED_EXHIBITIONS', { exhibitions })
41 40
             commit('EXHIBITIONS_LOADED', true)

+ 0
- 1
vue-theme/src/store/modules/post.js 파일 보기

@@ -21,7 +21,6 @@ const actions = {
21 21
         }, params })
22 22
     },
23 23
     getMorePosts({ commit }, { sortType, params }) {
24
-        commit('POSTS_LOADED', false)
25 24
         return api.getByType({ type: 'post', sort: sortType, cb: posts => {
26 25
             commit('ADD_TO_FETCHED_POSTS', { posts })
27 26
             commit('POSTS_LOADED', true)

Loading…
취소
저장