Skip to content

Commit

Permalink
🐞 Spinning cog jumps during tally in admin-console (#400)
Browse files Browse the repository at this point in the history
Parent issue: sequentech/meta#258
  • Loading branch information
Findeton committed Sep 21, 2023
1 parent b0a6b00 commit d43048d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion avAdmin/admin-directives/dashboard/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,9 @@ angular.module('avAdmin')
];

scope.getStatusIndex = function(status) {
if ('doing_tally' === status) {
status = 'stopped';
}
for (var index = 0; index < scope.statuses.length; index++)
{
var currentStatus = scope.statuses[index];
Expand Down Expand Up @@ -1391,7 +1394,6 @@ angular.module('avAdmin')
});
};

scope.statuses = scope.statuses;
scope.election = {};
scope.index = 0;
scope.nextaction = 0;
Expand Down

0 comments on commit d43048d

Please sign in to comment.