This commit is contained in:
@@ -765,7 +765,9 @@ async function getUserOptions() {
|
||||
languageOverride: null,
|
||||
timeZoneOverride: null,
|
||||
currencyName: null,
|
||||
hour12: true
|
||||
hour12: true,
|
||||
uiColor: "#000000",
|
||||
emailAddress: null
|
||||
};
|
||||
|
||||
//get language to use, try user set override first, if empty then browser set, if empty then default to en-us
|
||||
@@ -785,7 +787,10 @@ async function getUserOptions() {
|
||||
l.hour12 = res.data.hour12;
|
||||
}
|
||||
|
||||
window.$gz.store.commit("setLocale", l);
|
||||
l.uiColor = res.data.uiColor || "#000000";
|
||||
l.emailAddress = res.data.emailAddress || null;
|
||||
|
||||
window.$gz.store.commit("setUserOptions", l);
|
||||
}
|
||||
} catch (error) {
|
||||
window.$gz.store.commit(
|
||||
|
||||
Reference in New Issue
Block a user