Browse Source

Task/set active sort column in accounts table component (#6175)

* Set active sort column

* Update changelog
pull/6160/merge
Thomas Kaul 2 days ago
committed by GitHub
parent
commit
a493afb526
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 9
      libs/ui/src/lib/accounts-table/accounts-table.component.html

1
CHANGELOG.md

@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Set the active sort column in the accounts table component
- Deprecated `activities` in the endpoint `GET api/v1/portfolio/holding/:dataSource/:symbol`
- Moved the admin service to `@ghostfolio/ui/services`
- Moved the data service to `@ghostfolio/ui/services`

9
libs/ui/src/lib/accounts-table/accounts-table.component.html

@ -13,7 +13,14 @@
}
<div class="overflow-x-auto">
<table class="gf-table w-100" mat-table matSort [dataSource]="dataSource">
<table
class="gf-table w-100"
mat-table
matSort
matSortActive="name"
matSortDirection="asc"
[dataSource]="dataSource"
>
<ng-container matColumnDef="status">
<th
*matHeaderCellDef

Loading…
Cancel
Save