Feature/hide actions in presenter view (#380)

* Hide actions if restricted view is active

* Update changelog
pull/389/head
Thomas Kaul 3 years ago committed by GitHub
parent 8466e3d73f
commit 508a48f4c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

@ -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)"
></gf-accounts-table>
@ -15,7 +15,7 @@
</div>
<div
*ngIf="!hasImpersonationId && hasPermissionToCreateAccount"
*ngIf="!hasImpersonationId && hasPermissionToCreateAccount && !user.settings.isRestrictedView"
class="fab-container"
>
<a

@ -7,7 +7,7 @@
[deviceType]="deviceType"
[hasPermissionToImportOrders]="hasPermissionToImportOrders"
[locale]="user?.settings?.locale"
[showActions]="!hasImpersonationId && hasPermissionToDeleteOrder"
[showActions]="!hasImpersonationId && hasPermissionToDeleteOrder && !user.settings.isRestrictedView"
[transactions]="transactions"
(export)="onExport()"
(import)="onImport()"
@ -19,7 +19,7 @@
</div>
<div
*ngIf="!hasImpersonationId && hasPermissionToCreateOrder"
*ngIf="!hasImpersonationId && hasPermissionToCreateOrder && !user.settings.isRestrictedView"
class="fab-container"
>
<a

Loading…
Cancel
Save