@sumaris-net/ngx-components 2.6.20 → 2.6.21-beta0
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.
- package/esm2020/src/app/core/account/account.page.mjs +2 -2
- package/esm2020/src/app/core/form/properties/properties.table.mjs +1 -1
- package/fesm2015/sumaris-net.ngx-components.mjs +1 -1
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -31711,7 +31711,7 @@ class AccountPage extends AppForm {
|
|
|
31711
31711
|
// Get user options
|
|
31712
31712
|
this.optionDefinitions = this.accountService.optionDefs
|
|
31713
31713
|
.slice()
|
|
31714
|
-
.filter((definition) => !definition.minProfile || this.accountService.hasMinProfile(definition.minProfile));
|
|
31714
|
+
.filter((definition) => !definition.disabled && (!definition.minProfile || this.accountService.hasMinProfile(definition.minProfile)));
|
|
31715
31715
|
// Observed some events
|
|
31716
31716
|
this.registerSubscription(this.accountService.onLogin.pipe(filter(() => !this.saving)).subscribe((account) => this.onLogin(account)));
|
|
31717
31717
|
this.registerSubscription(this.accountService.onLogout.subscribe(() => this.onLogout()));
|