Browse Source
Feature/disable delete activities action if empty table (#5971)
* Disable delete activities action
* Update changelog
pull/5973/head^2
Thomas Kaul
6 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
4 additions and
1 deletions
-
CHANGELOG.md
-
libs/ui/src/lib/activities-table/activities-table.component.html
|
|
|
@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
|
|
- Disabled the action to delete activities if the activities table is empty |
|
|
|
- Resolved the data source of the `GHOSTFOLIO` data provider in the export functionality |
|
|
|
- Resolved the data source of the `GHOSTFOLIO` data provider in the import functionality |
|
|
|
- Improved the language localization for German (`de`) |
|
|
|
|
|
|
|
@ -59,7 +59,9 @@ |
|
|
|
<button |
|
|
|
class="align-items-center d-flex" |
|
|
|
mat-menu-item |
|
|
|
[disabled]="!hasPermissionToDeleteActivity" |
|
|
|
[disabled]=" |
|
|
|
dataSource?.data.length === 0 || !hasPermissionToDeleteActivity |
|
|
|
" |
|
|
|
(click)="onDeleteActivities()" |
|
|
|
> |
|
|
|
<span class="align-items-center d-flex"> |
|
|
|
|