From ddb04a5d87df8911d583e72a656b572e558c6d2b Mon Sep 17 00:00:00 2001 From: gerard Date: Mon, 25 Jun 2018 16:55:19 +0200 Subject: [PATCH] Bug #348 arreglar traducciones de ticket.line --- client/core/src/components/drop-down/drop-down.js | 3 +-- client/core/src/components/icon-menu/icon-menu.js | 6 ++++-- client/ticket/src/sale/locale/es.yml | 6 ++++++ 3 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 client/ticket/src/sale/locale/es.yml diff --git a/client/core/src/components/drop-down/drop-down.js b/client/core/src/components/drop-down/drop-down.js index 67ea8f511..f5556c5d0 100755 --- a/client/core/src/components/drop-down/drop-down.js +++ b/client/core/src/components/drop-down/drop-down.js @@ -1,10 +1,9 @@ import ngModule from '../../module'; import Component from '../../lib/component'; import './style.scss'; -//import './model-proxy/model-proxy'; export default class DropDown extends Component { - constructor($element, $scope, $transclude, $timeout, $http, $translate) { + constructor($element, $scope, $transclude, $timeout, $translate) { super($element, $scope); this.$transclude = $transclude; this.$timeout = $timeout; diff --git a/client/core/src/components/icon-menu/icon-menu.js b/client/core/src/components/icon-menu/icon-menu.js index fb7bb5768..efde0cfaa 100644 --- a/client/core/src/components/icon-menu/icon-menu.js +++ b/client/core/src/components/icon-menu/icon-menu.js @@ -50,7 +50,8 @@ export default class IconMenu extends Input { 'showFilter', 'multiple', 'limit', - '$transclude' + '$transclude', + 'translateFields' ]); this.$.dropDown.selectFields = this.getFields(); @@ -79,7 +80,8 @@ ngModule.component('vnIconMenu', { selection: '