瀏覽代碼

:recycle: adding event and exhibition lists to ignore type watcher

tags/0.9.0
J 4 年之前
父節點
當前提交
7b05f8a547
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      vue-theme/src/pages/list.vue

+ 1
- 1
vue-theme/src/pages/list.vue 查看文件

@@ -194,7 +194,7 @@ export default {
194 194
             if(!postTypes.includes(newType)) return console.warn('Type not valid...')
195 195
 
196 196
             // Ignore some types with presorts so the sortBy watcher can handle them
197
-            const ignore = ['artist']
197
+            const ignore = ['artist', 'event', 'exibition']
198 198
             if(ignore.includes(newType)) return
199 199
             this.initPostList()
200 200
         },

Loading…
取消
儲存