From f77cb366024fc2afdae5e7fa16b274cda1fd914d Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Tue, 3 Nov 2020 15:28:27 +0300 Subject: [PATCH] chore: remove cultureNameLocaleFileMap prop from core options --- npm/ng-packs/packages/core/src/lib/tokens/options.token.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/npm/ng-packs/packages/core/src/lib/tokens/options.token.ts b/npm/ng-packs/packages/core/src/lib/tokens/options.token.ts index ac51dbb92e..5bb1e71bf7 100644 --- a/npm/ng-packs/packages/core/src/lib/tokens/options.token.ts +++ b/npm/ng-packs/packages/core/src/lib/tokens/options.token.ts @@ -1,12 +1,10 @@ import { InjectionToken } from '@angular/core'; -import differentLocales from '../constants/different-locales'; import { ABP } from '../models/common'; export const CORE_OPTIONS = new InjectionToken('CORE_OPTIONS'); -export function coreOptionsFactory({ cultureNameLocaleFileMap = {}, ...options }: ABP.Root) { +export function coreOptionsFactory({ ...options }: ABP.Root) { return { ...options, - cultureNameLocaleFileMap: { ...differentLocales, ...cultureNameLocaleFileMap }, } as ABP.Root; }