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}} { $state.params.id = 1; controller = $componentController('vnTicketSaleEditDiscount', {$scope, $state}); controller._edit = [{id: 3, discount: 15}]; - controller.hide = () => {}; + controller.onHide = () => {}; })); describe('edit() setter', () => {