From 07d95fd10a580eb4bfe4801ba29d344c75e08f5b Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Tue, 12 Apr 2016 22:26:13 +0200 Subject: [PATCH] Allow to show vote value '0' in motion poll result view. --- openslides/motions/static/js/motions/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/motions/static/js/motions/base.js b/openslides/motions/static/js/motions/base.js index c6fdb80a8..174cf9df1 100644 --- a/openslides/motions/static/js/motions/base.js +++ b/openslides/motions/static/js/motions/base.js @@ -68,7 +68,7 @@ angular.module('OpenSlidesApp.motions', ['OpenSlidesApp.users']) methods: { // returns object with value and percent getVote: function (vote) { - if (!this.has_votes || !vote) { + if (!this.has_votes) { return; } var value = '';