From 508a48f4c3f5d6bab71e28a0b893956cf988a886 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Fri, 24 Sep 2021 20:15:10 +0200 Subject: [PATCH] Feature/hide actions in presenter view (#380) * Hide actions if restricted view is active * Update changelog --- CHANGELOG.md | 5 +++++ apps/client/src/app/pages/accounts/accounts-page.html | 4 ++-- .../app/pages/portfolio/transactions/transactions-page.html | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef8109aab..0ebbca8a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Changed the navigation to always show the portfolio page +### Fixed + +- Hid the actions from the accounts table in the _Presenter View_ +- Hid the actions from the transactions table in the _Presenter View_ + ## 1.55.0 - 20.09.2021 ### Changed diff --git a/apps/client/src/app/pages/accounts/accounts-page.html b/apps/client/src/app/pages/accounts/accounts-page.html index f4cc36223..b398c6981 100644 --- a/apps/client/src/app/pages/accounts/accounts-page.html +++ b/apps/client/src/app/pages/accounts/accounts-page.html @@ -7,7 +7,7 @@ [baseCurrency]="user?.settings?.baseCurrency" [deviceType]="deviceType" [locale]="user?.settings?.locale" - [showActions]="!hasImpersonationId && hasPermissionToDeleteAccount" + [showActions]="!hasImpersonationId && hasPermissionToDeleteAccount && !user.settings.isRestrictedView" (accountDeleted)="onDeleteAccount($event)" (accountToUpdate)="onUpdateAccount($event)" > @@ -15,7 +15,7 @@