ソースを参照

:recycle: turning off default sort for exhibitions

tags/0.9.0
j 4年前
コミット
767ced161f
1個のファイルの変更0行の追加7行の削除
  1. 0
    7
      vue-theme/src/store/modules/exhibition.js

+ 0
- 7
vue-theme/src/store/modules/exhibition.js ファイルの表示

@@ -16,13 +16,6 @@ const actions = {
16 16
     getAllExhibitions({ commit }, sortType) {
17 17
         commit('CLEAR_EXHIBITIONS')
18 18
         commit('EXHIBITIONS_LOADED', false)
19
-
20
-        // Forcing sort because 90% of the time
21
-        // we only care about current and upcoming
22
-        if (sortType == 'exhibitions') {
23
-            sortType = sortTypes.currentAndUpcoming
24
-        }
25
-
26 19
         return api.getByType('exhibitions', sortType, exhibitions => {
27 20
             commit('STORE_FETCHED_EXHIBITIONS', { exhibitions })
28 21
             commit('EXHIBITIONS_LOADED', true)

読み込み中…
キャンセル
保存