@sumaris-net/ngx-components 18.5.11 → 18.5.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -21741,12 +21741,9 @@ class AccountService extends BaseGraphqlService {
|
|
|
21741
21741
|
}
|
|
21742
21742
|
this._cache.loaded = true;
|
|
21743
21743
|
// Apply settings, found in remote account
|
|
21744
|
-
if (account.settings) {
|
|
21745
|
-
const
|
|
21746
|
-
|
|
21747
|
-
...account.settings.asLocalSettings(),
|
|
21748
|
-
};
|
|
21749
|
-
await this.settings.apply(settings);
|
|
21744
|
+
if (account.settings && this.settings.settings.accountInheritance) {
|
|
21745
|
+
const accountSettings = account.settings.asLocalSettings();
|
|
21746
|
+
await this.settings.apply(accountSettings);
|
|
21750
21747
|
}
|
|
21751
21748
|
return this._data;
|
|
21752
21749
|
}
|