Bugfix/fix activities import on non-empty activities page (#4398)
* Add missing import functionality * Update changelog
This commit is contained in:
parent
ddb50295b2
commit
12ae54e01b
@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed the missing import functionality on the non-empty activities page
|
||||
- Fixed the functionality to delete an asset profile of a custom currency in the admin control panel
|
||||
|
||||
## 2.143.0 - 2025-03-02
|
||||
|
@ -6,9 +6,8 @@
|
||||
[baseCurrency]="user?.settings?.baseCurrency"
|
||||
[dataSource]="dataSource"
|
||||
[deviceType]="deviceType"
|
||||
[hasPermissionToCreateActivity]="
|
||||
hasPermissionToCreateActivity && user?.activitiesCount === 0
|
||||
"
|
||||
[hasActivities]="user?.activitiesCount > 0"
|
||||
[hasPermissionToCreateActivity]="hasPermissionToCreateActivity"
|
||||
[hasPermissionToDeleteActivity]="hasPermissionToDeleteActivity"
|
||||
[hasPermissionToExportActivities]="!hasImpersonationId"
|
||||
[locale]="user?.settings?.locale"
|
||||
|
@ -500,7 +500,10 @@
|
||||
/>
|
||||
|
||||
@if (
|
||||
dataSource?.data.length === 0 && hasPermissionToCreateActivity && !isLoading
|
||||
!hasActivities &&
|
||||
dataSource?.data.length === 0 &&
|
||||
hasPermissionToCreateActivity &&
|
||||
!isLoading
|
||||
) {
|
||||
<div class="p-3 text-center">
|
||||
<gf-no-transactions-info-indicator [hasBorder]="false" />
|
||||
|
@ -76,6 +76,7 @@ export class GfActivitiesTableComponent
|
||||
@Input() baseCurrency: string;
|
||||
@Input() dataSource: MatTableDataSource<Activity>;
|
||||
@Input() deviceType: string;
|
||||
@Input() hasActivities: boolean;
|
||||
@Input() hasPermissionToCreateActivity: boolean;
|
||||
@Input() hasPermissionToDeleteActivity: boolean;
|
||||
@Input() hasPermissionToExportActivities: boolean;
|
||||
|
Loading…
x
Reference in New Issue
Block a user