Allow to show vote value '0' in motion poll result view.

This commit is contained in:
Emanuel Schuetze 2016-04-12 22:26:13 +02:00
parent 8a03c15c35
commit 07d95fd10a

View File

@ -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 = '';