Skip to content

Commit

Permalink
Add org details to election chooser directive (#268)
Browse files Browse the repository at this point in the history
Add org details to election chooser directive (#265)

add org details to election chooser directive
  • Loading branch information
Findeton authored Sep 15, 2022
1 parent 05daaa3 commit 2ac36f4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@
* Shows the steps to the user.
*/
angular.module('avBooth')
.directive('avbElectionChooserScreen', function($window, $cookies) {
.directive('avbElectionChooserScreen', function($window, $cookies, ConfigService) {

function link(scope, element, attrs) {
scope.showSkippedElections = false;
scope.organization = ConfigService.organization;
function findElectionCredentials(electionId, credentials) {
return _.find(
credentials,
Expand Down

0 comments on commit 2ac36f4

Please sign in to comment.