From 8bea3afbfb76cbd2200fe4d1e666722618cd9300 Mon Sep 17 00:00:00 2001 From: jgallego Date: Fri, 15 Feb 2019 13:13:23 +0100 Subject: [PATCH 1/2] karma reparado --- modules/ticket/front/sale/editDiscount.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ticket/front/sale/editDiscount.spec.js b/modules/ticket/front/sale/editDiscount.spec.js index 70ca327f8..2fef13106 100644 --- a/modules/ticket/front/sale/editDiscount.spec.js +++ b/modules/ticket/front/sale/editDiscount.spec.js @@ -21,7 +21,7 @@ describe('Ticket', () => { $state.params.id = 1; controller = $componentController('vnTicketSaleEditDiscount', {$scope, $state}); controller._edit = [{id: 3, discount: 15}]; - controller.hide = () => {}; + controller.onHide = () => {}; })); describe('edit() setter', () => { From 08c252fb9b198cd5d52f334a050ee3b234bef541 Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Fri, 15 Feb 2019 13:31:14 +0100 Subject: [PATCH 2/2] updated check component --- front/core/components/check/check.html | 4 +- front/core/components/check/check.js | 62 +++++++++++--------------- 2 files changed, 28 insertions(+), 38 deletions(-) diff --git a/front/core/components/check/check.html b/front/core/components/check/check.html index 59fbd1192..c2d16005a 100644 --- a/front/core/components/check/check.html +++ b/front/core/components/check/check.html @@ -2,8 +2,8 @@ aria-label="Checkbox 1" md-indeterminate="$ctrl.isIntermediate" ng-disabled="$ctrl.disabled" - ng-checked="$ctrl.checkValue" - ng-model="$ctrl.checkValue"> + ng-checked="$ctrl.isChecked" + ng-model="$ctrl.model"> {{::$ctrl.label}}