Skip to content

Commit

Permalink
Merge pull request #61 from tomatoaiu/feat/experiential-learning
Browse files Browse the repository at this point in the history
fix: added the check hasdate
  • Loading branch information
tomatoaiu authored Jun 7, 2018
2 parents e389880 + 952ad3b commit dc2f069
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pages/experientialLearning.vue
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ export default {
},
mounted () {
this.date = new Date().toJSON().slice(0, 10).replace(/-/g, '-')
if (!this.hasDate(this.date)) {
this.setNewExperientialLearning(this.date)
}
this.setRegisterDates()
},
methods: {
Expand Down

0 comments on commit dc2f069

Please sign in to comment.