Browse Source

Add 'all' category

sbkwgh 8 years ago
parent
commit
99a7fe311a
1 changed files with 2 additions and 0 deletions
  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)
 		}