Bugfix/fix state of delete account button (#911)
* Fix disable state * Update changelog
This commit is contained in:
parent
d094bae7de
commit
1a4dc51825
@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- Fixed the state of the account delete button (disable if account contains activities)
|
||||||
- Fixed an issue in the activities filter component (typing a search term)
|
- Fixed an issue in the activities filter component (typing a search term)
|
||||||
|
|
||||||
## 1.147.0 - 10.05.2022
|
## 1.147.0 - 10.05.2022
|
||||||
|
@ -200,7 +200,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
mat-menu-item
|
mat-menu-item
|
||||||
[disabled]="element.isDefault || element.Order?.length > 0"
|
[disabled]="element.isDefault || element.transactionCount > 0"
|
||||||
(click)="onDeleteAccount(element.id)"
|
(click)="onDeleteAccount(element.id)"
|
||||||
>
|
>
|
||||||
<ion-icon class="mr-2" name="trash-outline"></ion-icon>
|
<ion-icon class="mr-2" name="trash-outline"></ion-icon>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user