add support for toolbar title i18n (#6200)

This commit is contained in:
Denys Vuika
2020-10-01 13:42:51 +01:00
committed by GitHub
parent 877a9f00e9
commit c68b84513b
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
<mat-toolbar [color]="color">
<span *ngIf="title">{{ title }}</span>
<span *ngIf="title">{{ title | translate }}</span>
<ng-content select="adf-toolbar-title"></ng-content>
<ng-content></ng-content>
</mat-toolbar>