Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Bugfix/disable language selector for demo user (#1204)

Thomas Kaulca08d3154ace
diff --git a/CHANGELOG.md b/CHANGELOG.md
index aafce639a4..fc1e92859e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Moved the build pipeline from _Travis_ to _GitHub Actions_
+### Fixed
+
+- Disabled the language selector for the demo user
+
## 1.184.2 - 28.08.2022
### Added
diff --git a/apps/client/src/app/pages/account/account-page.html b/apps/client/src/app/pages/account/account-page.html
index 335ec69f6d..b3f59d3a97 100644
--- a/apps/client/src/app/pages/account/account-page.html
+++ b/apps/client/src/app/pages/account/account-page.html
@@ -119,6 +119,7 @@
<mat-form-field appearance="outline" class="w-100">
<mat-select
name="language"
+ [disabled]="!hasPermissionToUpdateUserSettings"
[value]="language"
(selectionChange)="onChangeUserSetting('language', $event.value)"
>