Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
4 deletions
-
libs/ui/src/lib/activities-table/activities-table.component.ts
|
|
@ -98,10 +98,6 @@ export class ActivitiesTableComponent implements OnChanges, OnDestroy, OnInit { |
|
|
|
this.selectedActivities.emit(selectedRows.source.selected); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
this.hasDuplicateActivity = this.activities.some(({ isDuplicate }) => { |
|
|
|
return isDuplicate; |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
public areAllRowsSelected() { |
|
|
@ -170,6 +166,12 @@ export class ActivitiesTableComponent implements OnChanges, OnDestroy, OnInit { |
|
|
|
this.dataSource.sortingDataAccessor = get; |
|
|
|
|
|
|
|
this.updateFilters(); |
|
|
|
|
|
|
|
this.hasDuplicateActivity = this.activities.some(({ isDuplicate }) => { |
|
|
|
return isDuplicate; |
|
|
|
}); |
|
|
|
} else { |
|
|
|
this.hasDuplicateActivity = false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|