-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NNS1-3486: updates reporting transactions button to provide period to…
… the service (#6033) # Motivation We want to filter transactions by a specific period. Follow up PR will hook the `PeriodDateRangeSelector` to the `PeriodTransactionsButton` so users selection will be propagated to the service. # Changes - Forwards the `period` property from the `ReportingTransactionsButton` to the service. - Changes the utility `filterTransactionsByRange` to exclude dates that are equal to `to` this.https://github.com/dfinity/nns-dapp/blob/bc7b3b64cafd286bb76a5996ae29447849220163/frontend/src/lib/types/reporting.ts#L6 # Tests - New unit tests for the component - Updated test for the service # Todos - [ ] Add entry to changelog (if necessary). Not necessary
- Loading branch information
Showing
4 changed files
with
99 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters