Feat: display months in home
This commit is contained in:
@@ -71,7 +71,9 @@ const travail = {
|
||||
},
|
||||
getters: {
|
||||
count (state) {return state.months.length},
|
||||
months (state) {return state.months},
|
||||
months (state) {
|
||||
return state.months.sort((a, b) => new Date(b.date) - new Date(a.date))
|
||||
},
|
||||
},
|
||||
mutations: {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user