From 3f44eadb5f29ae48a90ac22d8ff5f12098fbb99a Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Tue, 25 Jun 2024 18:17:10 -0400 Subject: [PATCH] Translation settings should be persisted on web (#9581) Unfortunately we cannot migrate this data from session, as it is lost on tab closed. --- libs/common/src/platform/state/state-definitions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/common/src/platform/state/state-definitions.ts b/libs/common/src/platform/state/state-definitions.ts index f3427429430..e22763e6fb7 100644 --- a/libs/common/src/platform/state/state-definitions.ts +++ b/libs/common/src/platform/state/state-definitions.ts @@ -112,7 +112,7 @@ export const DESKTOP_SETTINGS_DISK = new StateDefinition("desktopSettings", "dis export const ENVIRONMENT_DISK = new StateDefinition("environment", "disk"); export const ENVIRONMENT_MEMORY = new StateDefinition("environment", "memory"); export const THEMING_DISK = new StateDefinition("theming", "disk", { web: "disk-local" }); -export const TRANSLATION_DISK = new StateDefinition("translation", "disk"); +export const TRANSLATION_DISK = new StateDefinition("translation", "disk", { web: "disk-local" }); // Secrets Manager