sbkwgh 8 лет назад
Родитель
Сommit
99a7fe311a
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/App.vue

+ 2 - 0
src/App.vue

@@ -307,6 +307,8 @@
 
 			this.axios.get('/api/v1/category')
 				.then(res => {
+					res.data.push({ name: 'All', value: 'ALL' })
+
 					this.$store.commit('addCategories', res.data)
 				}).catch(this.ajaxErrorHandler)
 		}