Merge pull request 'fix(icons): prevent icon translation when using google translator' (!1237) from 5044-notranslate_icons into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #1237
Reviewed-by: Vicent Llopis <vicent@verdnatura.es>
This commit is contained in:
Joan Sanchez 2023-01-05 07:29:52 +00:00
commit 8f118748b6
2 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
### Fixed
- [General] Al utilizar el traductor de Google se descuadraban los iconos
### Removed
- [Tickets](Control clientes) Eliminada sección

View File

@ -26,7 +26,7 @@ class Icon {
Icon.$inject = ['$attrs'];
ngModule.vnComponent('vnIcon', {
template: '<i class="{{::$ctrl.iconClass}} unselectable">{{::$ctrl.iconContent}}</i>',
template: '<i class="{{::$ctrl.iconClass}} unselectable notranslate">{{::$ctrl.iconContent}}</i>',
controller: Icon,
bindings: {
icon: '@'