From 2ac36f4bb60208a81870b62fc29133faaaf44e64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Robles?= Date: Thu, 15 Sep 2022 08:15:38 -0500 Subject: [PATCH] Add org details to election chooser directive (#268) Add org details to election chooser directive (#265) add org details to election chooser directive --- .../election-chooser-screen-directive.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/avBooth/election-chooser-screen-directive/election-chooser-screen-directive.js b/avBooth/election-chooser-screen-directive/election-chooser-screen-directive.js index a807927a..2e1b9a57 100644 --- a/avBooth/election-chooser-screen-directive/election-chooser-screen-directive.js +++ b/avBooth/election-chooser-screen-directive/election-chooser-screen-directive.js @@ -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,