Web:Common:Added an entry in the localStorage of the default setting data CompanyInfoSettings.
This commit is contained in:
parent
97743830b3
commit
5a399eac99
@ -345,7 +345,17 @@ class SettingsStore {
|
||||
|
||||
getCompanyInfoSettings = async () => {
|
||||
const res = await api.settings.getCompanyInfoSettings();
|
||||
|
||||
delete res.IsLicensor;
|
||||
|
||||
this.setCompanyInfoSettingsData(res);
|
||||
|
||||
if (!localStorage.getItem("defaultDataCompanyInfoSettings")) {
|
||||
localStorage.setItem(
|
||||
"defaultDataCompanyInfoSettings",
|
||||
JSON.stringify(res)
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
restoreCompanyInfoSettings = async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user