mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-08-22 02:14:21 -05:00
Reverse the order of SplatNet gear for Twitter posts
This should make the display order a little more clear (going from newest to oldest left to right, top to bottom).
This commit is contained in:
@@ -51,8 +51,11 @@ export default {
|
||||
return this.merchandises.find(m => m.end_time == this.$route.params.endTime);
|
||||
},
|
||||
otherMerchandises() {
|
||||
if (this.merchandises)
|
||||
return this.merchandises.filter(m => m != this.featuredMerchandise && m.end_time > this.$route.params.startTime);
|
||||
if (this.merchandises) {
|
||||
return this.merchandises
|
||||
.filter(m => m != this.featuredMerchandise && m.end_time > this.$route.params.startTime)
|
||||
.sort((a, b) => b.end_time - a.end_time);
|
||||
}
|
||||
},
|
||||
},
|
||||
created() {
|
||||
|
||||
Reference in New Issue
Block a user