branch feature/232-miseAJourAutoSondage updated (2dc22817 -> 533b5365)
This is an automated email from the git hooks/post-receive script. New change to branch feature/232-miseAJourAutoSondage in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git from 2dc22817 Lint new 533b5365 Prevent reloading when vote is closed The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 533b5365283b2a0cc4962011bc21be568a265f94 Author: jcouteau <couteau@codelutin.com> Date: Tue Dec 3 12:15:24 2019 +0100 Prevent reloading when vote is closed Summary of changes: pollen-ui-riot-js/src/main/web/tag/poll/Poll.tag.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/232-miseAJourAutoSondage in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 533b5365283b2a0cc4962011bc21be568a265f94 Author: jcouteau <couteau@codelutin.com> Date: Tue Dec 3 12:15:24 2019 +0100 Prevent reloading when vote is closed --- pollen-ui-riot-js/src/main/web/tag/poll/Poll.tag.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Poll.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Poll.tag.html index c46a6f5f..6a15b619 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Poll.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Poll.tag.html @@ -208,7 +208,7 @@ this.refresh(); this.refresh = () => { - if (this.poll) { + if (this.poll && this.poll.questions[0] && this.poll.questions[0].canVote) { let promise = this.poll.reloadPoll(); promise.then(poll2 => { this.poll = poll2; -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm