Browse Source

add includeLocalizationResources check before refreshing

pull/19046/head
Sinan Öztürk 2 years ago
parent
commit
fcbacdcac7
  1. 4
      npm/ng-packs/packages/core/src/lib/services/config-state.service.ts

4
npm/ng-packs/packages/core/src/lib/services/config-state.service.ts

@ -71,6 +71,10 @@ export class ConfigStateService {
}
refreshLocalization(lang: string): Observable<null> {
if(this.includeLocalizationResources){
return this.refreshAppState().pipe(map(() => null));
}
return this.getlocalizationResource(lang)
.pipe(
tap(result =>

Loading…
Cancel
Save