瀏覽代碼

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

Loading…
取消
儲存