Преглед изворни кода

: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…
Откажи
Сачувај