Browse Source
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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
9 additions and
4 deletions
-
CHANGELOG.md
-
apps/client/src/app/pages/accounts/accounts-page.html
-
apps/client/src/app/pages/portfolio/transactions/transactions-page.html
|
@ -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 |
|
|
- 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 |
|
|
## 1.55.0 - 20.09.2021 |
|
|
|
|
|
|
|
|
### Changed |
|
|
### Changed |
|
|
|
@ -7,7 +7,7 @@ |
|
|
[baseCurrency]="user?.settings?.baseCurrency" |
|
|
[baseCurrency]="user?.settings?.baseCurrency" |
|
|
[deviceType]="deviceType" |
|
|
[deviceType]="deviceType" |
|
|
[locale]="user?.settings?.locale" |
|
|
[locale]="user?.settings?.locale" |
|
|
[showActions]="!hasImpersonationId && hasPermissionToDeleteAccount" |
|
|
[showActions]="!hasImpersonationId && hasPermissionToDeleteAccount && !user.settings.isRestrictedView" |
|
|
(accountDeleted)="onDeleteAccount($event)" |
|
|
(accountDeleted)="onDeleteAccount($event)" |
|
|
(accountToUpdate)="onUpdateAccount($event)" |
|
|
(accountToUpdate)="onUpdateAccount($event)" |
|
|
></gf-accounts-table> |
|
|
></gf-accounts-table> |
|
@ -15,7 +15,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div |
|
|
<div |
|
|
*ngIf="!hasImpersonationId && hasPermissionToCreateAccount" |
|
|
*ngIf="!hasImpersonationId && hasPermissionToCreateAccount && !user.settings.isRestrictedView" |
|
|
class="fab-container" |
|
|
class="fab-container" |
|
|
> |
|
|
> |
|
|
<a |
|
|
<a |
|
|
|
@ -7,7 +7,7 @@ |
|
|
[deviceType]="deviceType" |
|
|
[deviceType]="deviceType" |
|
|
[hasPermissionToImportOrders]="hasPermissionToImportOrders" |
|
|
[hasPermissionToImportOrders]="hasPermissionToImportOrders" |
|
|
[locale]="user?.settings?.locale" |
|
|
[locale]="user?.settings?.locale" |
|
|
[showActions]="!hasImpersonationId && hasPermissionToDeleteOrder" |
|
|
[showActions]="!hasImpersonationId && hasPermissionToDeleteOrder && !user.settings.isRestrictedView" |
|
|
[transactions]="transactions" |
|
|
[transactions]="transactions" |
|
|
(export)="onExport()" |
|
|
(export)="onExport()" |
|
|
(import)="onImport()" |
|
|
(import)="onImport()" |
|
@ -19,7 +19,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div |
|
|
<div |
|
|
*ngIf="!hasImpersonationId && hasPermissionToCreateOrder" |
|
|
*ngIf="!hasImpersonationId && hasPermissionToCreateOrder && !user.settings.isRestrictedView" |
|
|
class="fab-container" |
|
|
class="fab-container" |
|
|
> |
|
|
> |
|
|
<a |
|
|
<a |
|
|