-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(period-select): skip to previous year if no ended periods in cur…
…rent year (#50) * chore(fixed-periods): remove redundant functions, tests and deps * feat(period-select): set the initial year value based on period type * fix(period-select): allow workflow period type to be undefined * fix(period-select): avoid recomputing maxYear on every render * test(period-select): update failing year navigator test * test(fixed-periods): add unit test for getMostRecentCompletedYear * test(fixed-period): test period type with different start and end year * chore(period-select): remove redundant const currentYear
- Loading branch information
1 parent
5d618cd
commit d8be02b
Showing
7 changed files
with
89 additions
and
419 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
Oops, something went wrong.