Browse Source

Feature/disable delete activities action if empty table (#5971)

* Disable delete activities action

* Update changelog
pull/5973/head^2
Thomas Kaul 7 days ago
committed by GitHub
parent
commit
9d50675ea1
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 4
      libs/ui/src/lib/activities-table/activities-table.component.html

1
CHANGELOG.md

@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### 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 export functionality
- Resolved the data source of the `GHOSTFOLIO` data provider in the import functionality - Resolved the data source of the `GHOSTFOLIO` data provider in the import functionality
- Improved the language localization for German (`de`) - Improved the language localization for German (`de`)

4
libs/ui/src/lib/activities-table/activities-table.component.html

@ -59,7 +59,9 @@
<button <button
class="align-items-center d-flex" class="align-items-center d-flex"
mat-menu-item mat-menu-item
[disabled]="!hasPermissionToDeleteActivity" [disabled]="
dataSource?.data.length === 0 || !hasPermissionToDeleteActivity
"
(click)="onDeleteActivities()" (click)="onDeleteActivities()"
> >
<span class="align-items-center d-flex"> <span class="align-items-center d-flex">

Loading…
Cancel
Save