kopia lustrzana https://github.com/nextcloud/social
rodzic
19b3465ee1
commit
609f704464
|
|
@ -173,12 +173,12 @@ const getters = {
|
|||
return state.composerDisplayStatus
|
||||
},
|
||||
getTimeline(state) {
|
||||
return Object.values(state.timeline).sort(function (a, b) {
|
||||
return Object.values(state.timeline).sort(function(a, b) {
|
||||
return new Date(b.created_at).getTime() - new Date(a.created_at).getTime()
|
||||
})
|
||||
},
|
||||
getParentsTimeline(state) {
|
||||
return Object.values(state.parentsTimeline).sort(function (a, b) {
|
||||
return Object.values(state.parentsTimeline).sort(function(a, b) {
|
||||
return new Date(b.created_at).getTime() - new Date(a.created_at).getTime()
|
||||
})
|
||||
},
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue