fix(icons): prevent icon translation when using google translator
gitea/salix/pipeline/head There was a failure building this commit Details

Refs: 5044
This commit is contained in:
Joan Sanchez 2023-01-03 08:41:58 +01:00
parent a5ab5d613a
commit 674fe49058
1 changed files with 1 additions and 1 deletions

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: '@'