From 7c9ed2b7b21351c52372884a6d7e81d77a92d045 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Sat, 9 Feb 2019 15:26:15 -0400 Subject: [PATCH] fix: closing date incorrect on closed polls when no open poll available --- app/components/flow/LandingPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/flow/LandingPage.js b/app/components/flow/LandingPage.js index 364fe82..a1a6703 100644 --- a/app/components/flow/LandingPage.js +++ b/app/components/flow/LandingPage.js @@ -155,7 +155,7 @@ class LandingPage extends Component { {closedPoll.content.title} - Closed: {new Date(openPoll._endTime * 1000).DDMMYYYY()} + Closed: {new Date(closedPoll._endTime * 1000).DDMMYYYY()}

Voters: {closedPoll._voters}
Total votes: {closedPoll._votesSum}