Skip to content

Commit 6fe15e8

Browse files
authored
Merge pull request #424 from devforth/reverse-chart-on-livedemo
fix: reverse date order in price chart
2 parents 820574a + 1fbf569 commit 6fe15e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

live-demo/app/custom/Dashboard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ const apartsCountsByDaysChart = computed(() => {
188188
});
189189
190190
const listedVsUnlistedPriceByDays = computed(() => {
191-
return data.value.listedVsUnlistedPriceByDays?.map(
191+
return data.value.listedVsUnlistedPriceByDays?.slice( ).reverce().map(
192192
(item) => ({
193193
x: dayjs(item.day).format('DD MMM'),
194194
listedPrice: item.listedPrice.toFixed(2),

0 commit comments

Comments
 (0)