Browse Source

UI: translate pipe and truncate

pull/12206/head
Artem Dzhereleiko 2 years ago
parent
commit
7d34e038de
  1. 2
      ui-ngx/src/app/shared/components/resource/resource-autocomplete.component.html

2
ui-ngx/src/app/shared/components/resource/resource-autocomplete.component.html

@ -49,7 +49,7 @@
</div> </div>
<ng-template #searchNotEmpty> <ng-template #searchNotEmpty>
<span> <span>
{{ translate.get('js-func.no-js-module-matching', {module: searchText}) | async }} {{ 'js-func.no-js-module-matching' | translate: {module: searchText | truncate: true: 6: &apos;...&apos;} }}
</span> </span>
</ng-template> </ng-template>
</div> </div>

Loading…
Cancel
Save