Feat: structure for month and form

This commit is contained in:
2021-07-07 15:07:46 +02:00
parent caaefc0972
commit 6d669e5ae4
7 changed files with 151 additions and 34 deletions

View File

@@ -70,8 +70,9 @@ const travail = {
}
},
getters: {
count (state) {return state.months.length},
months (state) {
cCount (state) {return state.months.length},
TheEmptyMonth (state) {return state.empty},
Months (state) {
return state.months.sort((a, b) => new Date(b.date) - new Date(a.date))
},
},