Skip to content

Commit

Permalink
add resetting period
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantac committed Apr 28, 2024
1 parent c5c0098 commit af69896
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ func (m *model) refresh() tea.Cmd {
func (m *model) resetFilters() {
m.filterGroup.Reset()
m.searchFilter = accounting.NoFilter{}
m.period.periodType = hledger.PeriodYearly
m.acctDepth = accounting.NewAccountDepthFilter()
}

Expand Down

0 comments on commit af69896

Please sign in to comment.