Created
June 25, 2019 16:52
-
-
Save Macadoshis/717ee1af10e59a46097356fd87d29432 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: CMSS.Client/src/app/component/affiliate-management/label-translation-configuration/label-translation-configuration.component.ts | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- CMSS.Client/src/app/component/affiliate-management/label-translation-configuration/label-translation-configuration.component.ts (revision 2437c32707b82def0e4f7a077d441cbfc51a0cb7) | |
+++ CMSS.Client/src/app/component/affiliate-management/label-translation-configuration/label-translation-configuration.component.ts (date 1561463127412) | |
@@ -8,6 +8,7 @@ | |
import { IResponseItem } from '../../../models/core/i-response-item'; | |
import { FileUpload } from 'primeng/primeng'; | |
import { RequestCacheWithMap } from '../../../utils/interceptors/request-cache.service'; | |
+import { CmssTranslateService } from '../../../services/core/i18n/cmss-translate.service'; | |
@Component({ | |
templateUrl: './label-translation-configuration.component.html', | |
@@ -17,6 +18,7 @@ | |
constructor(injector: Injector, | |
private requestCache: RequestCacheWithMap, | |
+ private cmssTranslateService: CmssTranslateService, | |
private confirmationDialogService: ConfirmationDialogService, | |
private labelTranslationController: LabelTranslationController) { | |
super(injector); | |
@@ -36,6 +38,7 @@ | |
} | |
doImportAll(formData).subscribe(() => { | |
this.requestCache.clear(); | |
+ this.cmssTranslateService.removeI18nSessionStorage(); | |
}); | |
fileUpload.clear(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment