diff --git a/package-lock.json b/package-lock.json index e9f07aa..886844c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2272,8 +2272,8 @@ "dev": true }, "@ucap/ng-i18n": { - "version": "file:pack/ucap-ng-i18n-0.0.4.tgz", - "integrity": "sha512-GFHRotyHZqzfctKMW4A422XjCGquZNVteu/FwYCTUDawiARrAQ6Xri8tzvFrzC9TWS68pp2P6OvNc+9+2GUlRQ==" + "version": "file:pack/ucap-ng-i18n-0.0.5.tgz", + "integrity": "sha512-P+MUurrVyLeRl4l7b4aLMG3/nPpZ54U1U2VQnAGb7OHNvZG/BJVzZqc2Z+YvnNXTe8PhMqkRfRysOZeu1AGj5A==" }, "@ucap/ng-logger": { "version": "file:pack/ucap-ng-logger-0.0.1.tgz", diff --git a/package.json b/package.json index ced068e..d14b70d 100644 --- a/package.json +++ b/package.json @@ -144,7 +144,7 @@ "@ucap/ng-api-prompt": "file:pack/ucap-ng-api-prompt-0.0.1.tgz", "@ucap/ng-api-public": "file:pack/ucap-ng-api-public-0.0.1.tgz", "@ucap/ng-core": "file:pack/ucap-ng-core-0.0.1.tgz", - "@ucap/ng-i18n": "file:pack/ucap-ng-i18n-0.0.4.tgz", + "@ucap/ng-i18n": "file:pack/ucap-ng-i18n-0.0.5.tgz", "@ucap/ng-logger": "file:pack/ucap-ng-logger-0.0.1.tgz", "@ucap/ng-native": "file:pack/ucap-ng-native-0.0.1.tgz", "@ucap/ng-native-browser": "file:pack/ucap-ng-native-browser-0.0.1.tgz", diff --git a/projects/i18n/package.json b/projects/i18n/package.json index d14c97b..2e17658 100644 --- a/projects/i18n/package.json +++ b/projects/i18n/package.json @@ -1,6 +1,6 @@ { "name": "@ucap/ng-i18n", - "version": "0.0.4", + "version": "0.0.5", "publishConfig": { "registry": "http://10.81.13.221:8081/nexus/repository/npm-ucap/" }, diff --git a/projects/i18n/src/lib/pipes/i18n.pipe.ts b/projects/i18n/src/lib/pipes/i18n.pipe.ts index 76c563f..6fe9e01 100644 --- a/projects/i18n/src/lib/pipes/i18n.pipe.ts +++ b/projects/i18n/src/lib/pipes/i18n.pipe.ts @@ -14,7 +14,7 @@ import { I18nService } from '../services/i18n.service'; import { UCAP_I18N_NAMESPACE } from '../types/token'; -@Pipe({ name: 'ucapI18n' }) +@Pipe({ name: 'ucapI18n', pure: false }) export class I18nPipe implements PipeTransform, OnDestroy { private languageChangedSubscription: Subscription;