Browse Source
Merge pull request #24577 from abpframework/issue-22901
Replace LazyLocalizationPipe with AsyncLocalizationPipe
pull/24596/head
sumeyye
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
4 additions and
4 deletions
-
npm/ng-packs/packages/theme-basic/src/lib/components/routes/routes.component.html
-
npm/ng-packs/packages/theme-basic/src/lib/components/routes/routes.component.ts
|
|
|
@ -12,7 +12,7 @@ |
|
|
|
@if (route.iconClass) { |
|
|
|
<i [ngClass]="route.iconClass"></i> |
|
|
|
} |
|
|
|
{{ route.name | abpLazyLocalization | async }} |
|
|
|
{{ route.name | abpAsyncLocalization | async }} |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
</ng-template> |
|
|
|
@ -39,7 +39,7 @@ |
|
|
|
@if (route.iconClass) { |
|
|
|
<i [ngClass]="route.iconClass"></i> |
|
|
|
} |
|
|
|
{{ route.name | abpLazyLocalization | async }} |
|
|
|
{{ route.name | abpAsyncLocalization | async }} |
|
|
|
</a> |
|
|
|
<div |
|
|
|
#routeContainer |
|
|
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
import { |
|
|
|
ABP, |
|
|
|
LazyLocalizationPipe, |
|
|
|
AsyncLocalizationPipe, |
|
|
|
LocalizationPipe, |
|
|
|
PermissionDirective, |
|
|
|
RoutesService, |
|
|
|
@ -30,7 +30,7 @@ import { EllipsisDirective } from '@abp/ng.theme.shared'; |
|
|
|
AsyncPipe, |
|
|
|
RouterLink, |
|
|
|
NgbDropdownModule, |
|
|
|
LazyLocalizationPipe, |
|
|
|
AsyncLocalizationPipe, |
|
|
|
PermissionDirective, |
|
|
|
EllipsisDirective, |
|
|
|
LocalizationPipe, |
|
|
|
|