Przeglądaj źródła

:recycle: experiment to not set loading state for list

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

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

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

Ładowanie…
Anuluj
Zapisz