From 5db628311e21a21d88e88deac2ef87496844d030 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Tue, 9 Apr 2019 22:15:09 +0200 Subject: [PATCH] Fix confirmed/unconfirmed filter --- app/controllers/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/index.js b/app/controllers/index.js index 21c4b91..a6246a1 100644 --- a/app/controllers/index.js +++ b/app/controllers/index.js @@ -19,12 +19,12 @@ export default Controller.extend({ contributionsUnconfirmed: computed('contributions.[]', 'currentBlock', function() { return this.contributions.filter(contribution => { - return contribution.confirmedAt < this.currentBlock; + return contribution.confirmedAt > this.currentBlock; }); }), contributionsConfirmed: computed('contributions.[]', 'currentBlock', function() { return this.contributions.filter(contribution => { - return contribution.confirmedAt >= this.currentBlock; + return contribution.confirmedAt <= this.currentBlock; }); }),