From 26a50802a3bf8c3e8d4f63f8b69711496a54f888 Mon Sep 17 00:00:00 2001 From: techno-467 Date: Tue, 17 Dec 2024 15:57:59 +0530 Subject: [PATCH 1/2] [MOSIP-38397] Upgraded actions/cache version Signed-off-by: techno-467 --- .github/workflows/push-trigger.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push-trigger.yml b/.github/workflows/push-trigger.yml index 098d1b8c..a94a73ad 100644 --- a/.github/workflows/push-trigger.yml +++ b/.github/workflows/push-trigger.yml @@ -96,7 +96,7 @@ jobs: settings-path: ${{ github.workspace }} # location for the settings.xml file - name: Cache local Maven repository - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From 000dee848b46cc41bfb2dd80e3e23cdfcb3c8e72 Mon Sep 17 00:00:00 2001 From: MadhuMosip Date: Fri, 3 Jan 2025 20:42:15 +0530 Subject: [PATCH 2/2] MOSIP-38626 resolved language change issue Signed-off-by: MadhuMosip --- resident-ui/src/app/app-config.service.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resident-ui/src/app/app-config.service.ts b/resident-ui/src/app/app-config.service.ts index 3bad2215..2d862e16 100644 --- a/resident-ui/src/app/app-config.service.ts +++ b/resident-ui/src/app/app-config.service.ts @@ -15,7 +15,9 @@ export class AppConfigService { // Load additional config from remote endpoint const response = await this.http.get(this.appConfig.baseUrl + '/proxy/config/ui-properties').toPromise(); const responseData = response["response"]; - localStorage.setItem("langCode", responseData["mosip.mandatory-languages"]); + if(!localStorage.getItem("langCode")){ + localStorage.setItem("langCode", responseData["mosip.mandatory-languages"]); + } this.appConfig["supportedLanguages"] = responseData["mosip.mandatory-languages"] + ","+ responseData["mosip.optional-languages"]; this.appConfig["mosip.iam.adapter.clientid"] = responseData["mosip.iam.adapter.clientid"]; this.appConfig["mosip.resident.api.id.otp.request"] = responseData["mosip.resident.api.id.otp.request"];