Browse Source

Load defaults when created

master
Schneider 7 years ago
parent
commit
8ed9c2f7f7
  1. 4
      src/App.vue

4
src/App.vue

@ -81,6 +81,10 @@ export default {
} }
}, },
created () { created () {
this.$store.dispatch('loadMeals', {
when: this.when,
where: this.where
})
let vm = this let vm = this
document.onkeydown = (evt) => { document.onkeydown = (evt) => {
evt = evt || window.event evt = evt || window.event

Loading…
Cancel
Save