Simplify session sorting

This commit is contained in:
Oliver Davies 2019-06-04 21:17:31 +01:00
parent 9bf6b45f09
commit def19c539b

View file

@ -41,9 +41,7 @@ export default {
computed: { computed: {
sortedSessions: function () { sortedSessions: function () {
return _(this.sessions).sortBy(session => { return _(this.sessions).sortBy(session => session.attributes.title)
return session.attributes.title
})
} }
} }
} }