Skip to content

Commit

Permalink
fix: avoid defaulting to period tab
Browse files Browse the repository at this point in the history
  • Loading branch information
BRaimbault committed Dec 13, 2024
1 parent 5d7c55d commit 9f4ad67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/edit/thematic/ThematicDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,10 @@ class ThematicDialog extends Component {
setPeriods([])
break
}
this.setErrorState('periodError', null, 'period')
} else if (
periodError &&
(startDate !== prev.startDate ||
(periodType !== prev.periodType ||
startDate !== prev.startDate ||
endDate !== prev.endDate ||
getPeriodsFromFilters(filters) !==
getPeriodsFromFilters(prev.filters))
Expand Down

0 comments on commit 9f4ad67

Please sign in to comment.