From ca955ae814ca9999a19fea10fa18a9900bfaf1e7 Mon Sep 17 00:00:00 2001 From: Alexey Date: Thu, 30 Apr 2020 13:38:45 +0300 Subject: [PATCH] dashboard updates --- pages/index.vue | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pages/index.vue b/pages/index.vue index b28e829..eaec2b7 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -105,7 +105,7 @@ { - const name = contribution.name || 'anonymous' - return name.toLowerCase().includes(this.contributionSearch.toLowerCase()) - }) + return this.contributions + .filter((contribution) => { + const name = contribution.name || 'anonymous' + return name.toLowerCase().includes(this.contributionSearch.toLowerCase()) + }) + .reverse() } }, async mounted() {