From fc3cbc265863ad3cead8055e044aecb30518a2a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Robles?= Date: Tue, 10 Oct 2023 07:07:43 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20election-title=5Fi18n=20is=20not?= =?UTF-8?q?=20applied=20everywhere=20(#349)=20(#351)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Parent issue: https://github.com/sequentech/meta/issues/268 --- avUi/checker-service.js | 2 +- dist/appCommon-vmaster.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/avUi/checker-service.js b/avUi/checker-service.js index 3b5f1c96..5c8fedf6 100644 --- a/avUi/checker-service.js +++ b/avUi/checker-service.js @@ -68,7 +68,7 @@ }); */ angular.module('avUi') - .service('CheckerService', function() { + .service('CheckerService', function($filter) { function checker(d) { /* diff --git a/dist/appCommon-vmaster.js b/dist/appCommon-vmaster.js index ff2975a9..487a1163 100644 --- a/dist/appCommon-vmaster.js +++ b/dist/appCommon-vmaster.js @@ -1401,7 +1401,7 @@ angular.module("avRegistration").config(function() {}), angular.module("avRegist return "over-valid-votes" === (over = null == over ? question.answer_total_votes_percentage : over) || "over-total-valid-votes" === over ? base = question.totals.valid_votes : "over-total-valid-points" === over && void 0 !== question.totals.valid_points && (base = question.totals.valid_points), print(100 * total_votes / base); }; -}), angular.module("avUi").service("CheckerService", function() { +}), angular.module("avUi").service("CheckerService", [ "$filter", function($filter) { function checker(d) { function evalValue(code, $value) { return angular.isString(code) ? eval(code) : code; @@ -1515,7 +1515,7 @@ angular.module("avRegistration").config(function() {}), angular.module("avRegist return ret; } return checker; -}), angular.module("avUi").factory("ElectionCreation", function() { +} ]), angular.module("avUi").factory("ElectionCreation", function() { var service = { generateAuthapiRequest: function(el) { el.census.config.subject && !_.contains([ "email", "email-otp" ], el.census.auth_method) && delete el.census.config.subject;