Common: SettingsStore: disable set cookie for wizard

This commit is contained in:
Viktor Fomin 2023-02-01 13:50:58 +03:00
parent 4e50fdf9ac
commit 1e832f817a

View File

@ -210,6 +210,7 @@ class SettingsStore {
: newSettings[key]
);
if (key === "culture") {
if (newSettings.wizardToken) return;
const language = getCookie(LANGUAGE);
if (!language || language == "undefined") {
setCookie(LANGUAGE, newSettings[key], {