monkey-front-core 21.0.0 → 21.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5555,14 +5555,13 @@ class MonkeyEcxBaseResolver {
|
|
|
5555
5555
|
class MonkeyEcxI18nResolver {
|
|
5556
5556
|
static { this._loadedPaths = new Map(); }
|
|
5557
5557
|
constructor() {
|
|
5558
|
-
this._injector = inject(Injector);
|
|
5559
5558
|
this._localeId = injectTokenWithWarning(LOCALE_ID, 'LOCALE_ID');
|
|
5560
5559
|
this._bootstrapService = injectTokenWithWarning(MECX_BOOTSTRAP_SERVICE, 'MECX_BOOTSTRAP_SERVICE');
|
|
5561
5560
|
this._tokenStorageService = inject(MonkeyEcxTokenStorageService);
|
|
5562
5561
|
// not to do
|
|
5563
5562
|
}
|
|
5564
5563
|
resolve() {
|
|
5565
|
-
const service =
|
|
5564
|
+
const service = inject(MonkeyEcxService);
|
|
5566
5565
|
const locale = this._tokenStorageService.getMe()?.locale || this._localeId;
|
|
5567
5566
|
const path = this.getPath();
|
|
5568
5567
|
const host = this.getHost();
|