This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 07c9078d4b22015290f08ead91d2a7805e2fcf40 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Wed Aug 2 10:48:04 2017 +0200 ajout dépendances + correction undefined --- pollen-ui-riot-js/package.json | 1 + pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pollen-ui-riot-js/package.json b/pollen-ui-riot-js/package.json index 27c1099c..68ec61e0 100644 --- a/pollen-ui-riot-js/package.json +++ b/pollen-ui-riot-js/package.json @@ -46,6 +46,7 @@ "font-awesome": "4.7.0", "html2canvas": "^0.5.0-beta4", "moment": "^2.17.1", + "moment-timezone": "^0.5.13", "nprogress": "^0.2.0", "object.values": "^1.0.4", "qrcode-generator": "^1.3.0", diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html index 5f5fddd5..ab9be387 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Votes.tag.html @@ -101,7 +101,7 @@ require("../components/HumanInput.tag.html"); </div> <!-- Show votes --> - <div class="voters" if="{poll.resultIsVisible && poll.votes.length > 0}"> + <div class="voters" if="{poll.resultIsVisible && poll.votes && poll.votes.length > 0}"> <div class="row header separator-bottom"> <div></div> <div class="choices separator-left" if="{showChoiceHeader}"> -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.