range chaine #4

Merged
vincent merged 3 commits from dev into master 2019-05-09 13:31:14 +00:00
Showing only changes of commit d56236f772 - Show all commits

View File

@ -71,6 +71,9 @@ const mutations = {
}else{ }else{
state.arrayresultchaines.push({chaine: payload.chaine,name: payload.name,emission: payload.emission}); state.arrayresultchaines.push({chaine: payload.chaine,name: payload.name,emission: payload.emission});
} }
state.arrayresultchaines=state.arrayresultchaines.sort(function (a,b){
return ((a.chaine < b.chaine) ? -1 : ((a.chaine > b.chaine) ? 1 : 0));
})
}, },
setUserData (state, payload) { setUserData (state, payload) {
console.log('setUserData payload = ', payload) console.log('setUserData payload = ', payload)