Переглянути джерело

:bug: adding artists to the ignore list for list route watch reload

tags/0.9.0
J 4 роки тому
джерело
коміт
134d8c752f
1 змінених файлів з 1 додано та 1 видалено
  1. 1
    1
      vue-theme/src/pages/list.vue

+ 1
- 1
vue-theme/src/pages/list.vue Переглянути файл

206
                 (!to.fullPath.includes(this.sortBy) && !from.fullPath.includes(this.sortBy))
206
                 (!to.fullPath.includes(this.sortBy) && !from.fullPath.includes(this.sortBy))
207
             ) {
207
             ) {
208
                 // !: BUG: this causes event and exhibit posts to double(?)
208
                 // !: BUG: this causes event and exhibit posts to double(?)
209
-                const ignore = ['event', 'exhibition', 'post']
209
+                const ignore = ['event', 'exhibition', 'post', 'artist']
210
                 if(ignore.includes(this.type)) return
210
                 if(ignore.includes(this.type)) return
211
                 this.clearAndInitPostList()
211
                 this.clearAndInitPostList()
212
             }
212
             }

Завантаження…
Відмінити
Зберегти