mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-29 22:27:25 +02:00
Updated layout and poll
This commit is contained in:
parent
24a1629fe1
commit
d04cb14e74
11 changed files with 61 additions and 39 deletions
|
@ -49,7 +49,7 @@ angular.module('rallly')
|
|||
scope.selectedDate = function(index){
|
||||
datesCount[index] = 0;
|
||||
for (var i = 0; i < scope.event.participants.length; i++){
|
||||
if (scope.event.participants[i].dates[index]) datesCount[index]++;
|
||||
if (scope.event.participants[i].votes[index]) datesCount[index]++;
|
||||
}
|
||||
return datesCount[index];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue